summaryrefslogtreecommitdiff
path: root/build/bmake
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-06 21:40:01 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-06 21:40:01 +0300
commitf73819c8e075b0925381052590a5ac9ec6ac1b68 (patch)
treeeb6d0ff8cc204243821aa06cd8478c4bee915086 /build/bmake
parent2a4363ec9c80eafae21835c6c6fe92d7c10678ce (diff)
downloadmanaplus-f73819c8e075b0925381052590a5ac9ec6ac1b68.tar.gz
manaplus-f73819c8e075b0925381052590a5ac9ec6ac1b68.tar.bz2
manaplus-f73819c8e075b0925381052590a5ac9ec6ac1b68.tar.xz
manaplus-f73819c8e075b0925381052590a5ac9ec6ac1b68.zip
Add optimisation flag into make scripts.
Diffstat (limited to 'build/bmake')
-rwxr-xr-xbuild/bmake3
1 files changed, 2 insertions, 1 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 \