summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh15
1 files 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 $?