summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-17 20:35:36 +0300
committerAndrei Karas <akaras@inbox.ru>2015-07-05 02:02:38 +0300
commit03af9e7af2e04711135a1c65a555dc8619fd9593 (patch)
treef2c805352db22c7cc2f6e4e14a1a83a6f1cb206c /build.sh
parent144f80b0687dd7b6a9e02b5a4c96e30b06e56da3 (diff)
downloadhercules-03af9e7af2e04711135a1c65a555dc8619fd9593.tar.gz
hercules-03af9e7af2e04711135a1c65a555dc8619fd9593.tar.bz2
hercules-03af9e7af2e04711135a1c65a555dc8619fd9593.tar.xz
hercules-03af9e7af2e04711135a1c65a555dc8619fd9593.zip
In build.sh add command option old for build all with old gcc.
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 293eeb2ec..fc5c84f8d 100755
--- a/build.sh
+++ b/build.sh
@@ -13,6 +13,12 @@ if [[ "${CMD}" == "default" || "${CMD}" == "all" ]]; then
make install
cd src/evol
./build.sh
+elif [[ "${CMD}" == "old" ]]; then
+ ./configure --disable-lto --enable-packetver=20150000 --enable-debug=gdb
+ make -j3
+ make install
+ cd src/evol
+ ./build.sh old
elif [[ "${CMD}" == "server" ]]; then
./configure --enable-sanitize --disable-lto --enable-packetver=20150000 --enable-debug=gdb
make -j3