summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-02 00:51:15 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-02 00:51:15 +0300
commit0b2a9a6937a223ecc6356836da51ed41afc2d00b (patch)
tree121fbe7e92a078d0f1afb5e6c6f185f7787cba62 /build.sh
parent8335b9a7459e1b3a0c4424b9f2a991ed7624f99d (diff)
downloadevol-hercules-0b2a9a6937a223ecc6356836da51ed41afc2d00b.tar.gz
evol-hercules-0b2a9a6937a223ecc6356836da51ed41afc2d00b.tar.bz2
evol-hercules-0b2a9a6937a223ecc6356836da51ed41afc2d00b.tar.xz
evol-hercules-0b2a9a6937a223ecc6356836da51ed41afc2d00b.zip
Enable sanity flags only if they supported.
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index 5cd0a2e..3c05c38 100755
--- a/build.sh
+++ b/build.sh
@@ -12,12 +12,12 @@ mkdir m4
autoreconf -i
cd build
if [[ "${CMD}" == "default" ]]; then
- export CC=gcc-5
+ export CC=gcc
../configure --enable-sanitize
elif [[ "${CMD}" == "old" ]]; then
../configure
elif [[ "${CMD}" == "gprof" ]]; then
- export CC=gcc-5
+ export CC=gcc
../configure --enable-gprof
fi
make -j3