From f73819c8e075b0925381052590a5ac9ec6ac1b68 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 6 Apr 2014 21:40:01 +0300 Subject: Add optimisation flag into make scripts. --- build/bmake | 3 ++- build/bmakedebug | 3 ++- build/bmakespeed | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) (limited to 'build') diff --git a/build/bmake b/build/bmake index 0e6761bb7..2ffea4030 100755 --- a/build/bmake +++ b/build/bmake @@ -34,7 +34,8 @@ export CXXFLAGS="-ggdb3 -O2 -pipe -ffast-math \ -Woverlength-strings -Wpedantic -Wsign-compare -Wsizeof-pointer-memaccess \ -Wsuggest-attribute=format -Wtype-limits -Wuninitialized \ -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-function \ --Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable" +-Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable \ +-fsched-pressure" autoreconf -i ./configure --prefix=$dir/run \ diff --git a/build/bmakedebug b/build/bmakedebug index 2254234d0..521d88f68 100755 --- a/build/bmakedebug +++ b/build/bmakedebug @@ -35,7 +35,8 @@ export CXXFLAGS="-ggdb3 -Og -pipe -ffast-math \ -Woverlength-strings -Wpedantic -Wsign-compare -Wsizeof-pointer-memaccess \ -Wsuggest-attribute=format -Wtype-limits -Wuninitialized \ -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-function \ --Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -ftrapv" +-Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -ftrapv \ +-fsched-pressure" autoreconf -i ./configure --prefix=$dir/run \ diff --git a/build/bmakespeed b/build/bmakespeed index 5f182c815..56a563247 100755 --- a/build/bmakespeed +++ b/build/bmakespeed @@ -13,7 +13,7 @@ export CXXFLAGS="-ggdb3 -O5 -pipe -ffast-math \ -funswitch-loops -pedantic -Wall \ -D_FORTIFY_SOURCE=2 -Wc++11-compat -std=c++0x \ -funsafe-loop-optimizations -flto -fwhole-program \ --march=native" +-march=native -fsched-pressure" autoreconf -i ./configure --prefix=$dir/run \ -- cgit v1.2.3-70-g09d2