diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-04-06 21:40:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-04-06 21:40:01 +0300 |
commit | f73819c8e075b0925381052590a5ac9ec6ac1b68 (patch) | |
tree | eb6d0ff8cc204243821aa06cd8478c4bee915086 /build | |
parent | 2a4363ec9c80eafae21835c6c6fe92d7c10678ce (diff) | |
download | manaplus-f73819c8e075b0925381052590a5ac9ec6ac1b68.tar.gz manaplus-f73819c8e075b0925381052590a5ac9ec6ac1b68.tar.bz2 manaplus-f73819c8e075b0925381052590a5ac9ec6ac1b68.tar.xz manaplus-f73819c8e075b0925381052590a5ac9ec6ac1b68.zip |
Add optimisation flag into make scripts.
Diffstat (limited to 'build')
-rwxr-xr-x | build/bmake | 3 | ||||
-rwxr-xr-x | build/bmakedebug | 3 | ||||
-rwxr-xr-x | build/bmakespeed | 2 |
3 files changed, 5 insertions, 3 deletions
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 \ |