summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-17 20:35:36 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-05 17:46:58 +0300
commita04f8bd2e1ab43a9f78dcfc62c3637c952381fda (patch)
tree76d1c4220f8faf77214d57413838128f2571de1c
parente6d35587740342c9aa25089bd368e7d52aed748b (diff)
downloadhercules-a04f8bd2e1ab43a9f78dcfc62c3637c952381fda.tar.gz
hercules-a04f8bd2e1ab43a9f78dcfc62c3637c952381fda.tar.bz2
hercules-a04f8bd2e1ab43a9f78dcfc62c3637c952381fda.tar.xz
hercules-a04f8bd2e1ab43a9f78dcfc62c3637c952381fda.zip
In build.sh add command option old for build all with old gcc.
-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