diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-28 18:29:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-28 18:29:50 +0300 |
commit | 8f42d1de9ca1365f4f557959ee27f1dd2608ddab (patch) | |
tree | e4e13c79eb66690f49da7ac2a41235508019d6fc /build/bmakespeed | |
parent | 490140e0659d3dc99f2b19227410bd279a12fdf6 (diff) | |
download | mv-8f42d1de9ca1365f4f557959ee27f1dd2608ddab.tar.gz mv-8f42d1de9ca1365f4f557959ee27f1dd2608ddab.tar.bz2 mv-8f42d1de9ca1365f4f557959ee27f1dd2608ddab.tar.xz mv-8f42d1de9ca1365f4f557959ee27f1dd2608ddab.zip |
Switch build scripts to gcc 6.
Diffstat (limited to 'build/bmakespeed')
-rwxr-xr-x | build/bmakespeed | 14 |
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 \ |