summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 29cc8b7..5cd0a2e 100755
--- a/build.sh
+++ b/build.sh
@@ -12,10 +12,12 @@ mkdir m4
autoreconf -i
cd build
if [[ "${CMD}" == "default" ]]; then
+ export CC=gcc-5
../configure --enable-sanitize
elif [[ "${CMD}" == "old" ]]; then
../configure
elif [[ "${CMD}" == "gprof" ]]; then
+ export CC=gcc-5
../configure --enable-gprof
fi
make -j3