summaryrefslogtreecommitdiff
path: root/build/bmakespeed
diff options
context:
space:
mode:
Diffstat (limited to 'build/bmakespeed')
-rwxr-xr-xbuild/bmakespeed14
1 files changed, 9 insertions, 5 deletions
diff --git a/build/bmakespeed b/build/bmakespeed
index 2865594b6..029a1f481 100755
--- a/build/bmakespeed
+++ b/build/bmakespeed
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
cd ..
@@ -9,11 +9,15 @@ export CXX=g++
export LANG=C
-export CXXFLAGS="-ggdb3 -O5 -pipe -ffast-math \
--funswitch-loops -pedantic -Wall \
--D_FORTIFY_SOURCE=2 -Wc++11-compat -std=c++0x \
+export CXXFLAGS="-pedantic -ggdb3 -O5 -pipe -ffast-math \
+-funswitch-loops \
+-D_FORTIFY_SOURCE=2 \
-funsafe-loop-optimizations -flto -fwhole-program \
--march=native -fsched-pressure"
+-march=native -fsched-pressure
+-std=gnu++1z \
+-fno-var-tracking"
+
+source ./build/gcc6flags.sh
autoreconf -i
./configure --prefix=$dir/run \