diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-01 22:53:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-05 17:47:13 +0300 |
commit | 7ac26825c2a315496bc34f8564d03e2a6070552e (patch) | |
tree | f3cb5ffdafc64541df340b936322c0aec74327e9 | |
parent | 7e1f8b21952dda3404339bfcd3d329d5845b4396 (diff) | |
download | hercules-7ac26825c2a315496bc34f8564d03e2a6070552e.tar.gz hercules-7ac26825c2a315496bc34f8564d03e2a6070552e.tar.bz2 hercules-7ac26825c2a315496bc34f8564d03e2a6070552e.tar.xz hercules-7ac26825c2a315496bc34f8564d03e2a6070552e.zip |
use gcc 5 for build script.
-rwxr-xr-x | build.sh | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -18,32 +18,33 @@ export COMMON="--disable-lto --enable-packetver=20150000 --enable-debug=gdb${SQL autoreconf if [[ "${CMD}" == "default" || "${CMD}" == "all" ]]; then - ./configure --enable-sanitize ${COMMON} - make -j3 + export CC=gcc-5 + ./configure --enable-manager=no --enable-sanitize=full ${COMMON} + make -j9 make install cd src/evol ./build.sh elif [[ "${CMD}" == "old" ]]; then ./configure ${COMMON} - make -j3 + make -j9 make install cd src/evol ./build.sh old elif [[ "${CMD}" == "valgrind" ]]; then ./configure --enable-manager=no ${COMMON} - make -j3 + make -j9 make install cd src/evol ./build.sh old elif [[ "${CMD}" == "server" ]]; then ./configure --enable-sanitize ${COMMON} - make -j3 + make -j9 make install elif [[ "${CMD}" == "static" ]]; then ./configure LIBS="-lmysqlclient -lssl -lcrypto -pthread -lm -lz" --disable-64bit --enable-static ${COMMON} - make -j3 + make -j9 elif [[ "${CMD}" == "static64" ]]; then ./configure --enable-static ${COMMON} - make -j3 + make -j9 fi exit $? |