summaryrefslogtreecommitdiff
path: root/build/bmakedebug
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-19 14:52:01 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-19 14:52:01 +0300
commitff6c93b16f408a2ef10e47a4168c59ab6c4fdafb (patch)
tree4798677d00dc4dbdd7247966e04d409a3ea332f9 /build/bmakedebug
parent09fcaf22dc924143e88c79c2539f48b33432bf1d (diff)
downloadmanaplus-ff6c93b16f408a2ef10e47a4168c59ab6c4fdafb.tar.gz
manaplus-ff6c93b16f408a2ef10e47a4168c59ab6c4fdafb.tar.bz2
manaplus-ff6c93b16f408a2ef10e47a4168c59ab6c4fdafb.tar.xz
manaplus-ff6c93b16f408a2ef10e47a4168c59ab6c4fdafb.zip
Fix compilation warnings.
Diffstat (limited to 'build/bmakedebug')
-rwxr-xr-xbuild/bmakedebug5
1 files changed, 3 insertions, 2 deletions
diff --git a/build/bmakedebug b/build/bmakedebug
index 9d99e473d..8c3d43089 100755
--- a/build/bmakedebug
+++ b/build/bmakedebug
@@ -9,7 +9,7 @@ export CXX=g++-4.9
export LANG=C
-export CXXFLAGS="-ggdb3 -Og -pipe -ffast-math \
+export CXXFLAGS="-ggdb3 -O2 -pipe -ffast-math \
-fsanitize=address \
-fno-omit-frame-pointer -funswitch-loops \
-Wvariadic-macros -Wvla -Wredundant-decls \
@@ -37,7 +37,8 @@ export CXXFLAGS="-ggdb3 -Og -pipe -ffast-math \
-Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-function \
-Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -ftrapv \
-fsched-pressure \
--Wconditionally-supported -Wdate-time"
+-Wconditionally-supported -Wdate-time \
+-fno-var-tracking"
autoreconf -i
./configure --prefix=$dir/run \