From 8f42d1de9ca1365f4f557959ee27f1dd2608ddab Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 28 Apr 2016 18:29:50 +0300 Subject: Switch build scripts to gcc 6. --- build/bmakespeed | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'build/bmakespeed') 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 \ -- cgit v1.2.3-70-g09d2