summaryrefslogtreecommitdiff
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
parent2a4363ec9c80eafae21835c6c6fe92d7c10678ce (diff)
downloadmv-f73819c8e075b0925381052590a5ac9ec6ac1b68.tar.gz
mv-f73819c8e075b0925381052590a5ac9ec6ac1b68.tar.bz2
mv-f73819c8e075b0925381052590a5ac9ec6ac1b68.tar.xz
mv-f73819c8e075b0925381052590a5ac9ec6ac1b68.zip
Add optimisation flag into make scripts.
-rwxr-xr-xbuild/bmake3
-rwxr-xr-xbuild/bmakedebug3
-rwxr-xr-xbuild/bmakespeed2
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 \