From 4f4b99cec8e03114a744da93b933b650e64be4d8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 1 May 2015 22:53:41 +0300 Subject: use gcc 5 for build script. --- build.sh | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/build.sh b/build.sh index 681aded4f..f4c949b72 100755 --- a/build.sh +++ b/build.sh @@ -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 $? -- cgit v1.2.3-70-g09d2