summaryrefslogtreecommitdiff
path: root/build/bmakespeed
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-28 18:29:50 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-28 18:29:50 +0300
commit8f42d1de9ca1365f4f557959ee27f1dd2608ddab (patch)
treee4e13c79eb66690f49da7ac2a41235508019d6fc /build/bmakespeed
parent490140e0659d3dc99f2b19227410bd279a12fdf6 (diff)
downloadmanaplus-8f42d1de9ca1365f4f557959ee27f1dd2608ddab.tar.gz
manaplus-8f42d1de9ca1365f4f557959ee27f1dd2608ddab.tar.bz2
manaplus-8f42d1de9ca1365f4f557959ee27f1dd2608ddab.tar.xz
manaplus-8f42d1de9ca1365f4f557959ee27f1dd2608ddab.zip
Switch build scripts to gcc 6.
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 \