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-08-09 14:33:49 +0300
commit6bc504af2942412e97ab4e1fd6185fcf23f21798 (patch)
tree2c00650ac09d16e0fea9ae1f1f584fa6b9e39a1f /build.sh
parentf4dd0b0292f0c7594488943be0b90689fa046ab7 (diff)
downloadhercules-6bc504af2942412e97ab4e1fd6185fcf23f21798.tar.gz
hercules-6bc504af2942412e97ab4e1fd6185fcf23f21798.tar.bz2
hercules-6bc504af2942412e97ab4e1fd6185fcf23f21798.tar.xz
hercules-6bc504af2942412e97ab4e1fd6185fcf23f21798.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