summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-23 14:57:54 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-23 14:57:54 +0300
commit00d118d22446b52fd7453d934869996b32693c71 (patch)
tree2ad3ca4e99d3eda1da7ec9b7cb27715f6e869029 /build
parent856aad9aea556aafd2ddd9645352b81f4cd2af53 (diff)
downloadmanaplus-00d118d22446b52fd7453d934869996b32693c71.tar.gz
manaplus-00d118d22446b52fd7453d934869996b32693c71.tar.bz2
manaplus-00d118d22446b52fd7453d934869996b32693c71.tar.xz
manaplus-00d118d22446b52fd7453d934869996b32693c71.zip
Update debug make script.
Diffstat (limited to 'build')
-rwxr-xr-xbuild/bmakedebug18
1 files changed, 10 insertions, 8 deletions
diff --git a/build/bmakedebug b/build/bmakedebug
index 4ae797e97..237f37134 100755
--- a/build/bmakedebug
+++ b/build/bmakedebug
@@ -4,8 +4,8 @@ cd ..
dir=`pwd`
-export CC=gcc-5
-export CXX=g++-5
+export CC=gcc
+export CXX=g++
export LANG=C
@@ -45,12 +45,14 @@ export CXXFLAGS="-ggdb3 -O2 -pipe -ffast-math \
-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 \
--fsched-pressure \
--Wconditionally-supported -Wdate-time \
--fno-var-tracking \
--Wopenmp-simd -Wformat-signedness \
--Wswitch-bool -Wmemset-transposed-args -Wchkp -Wc++14-compat -Wsized-deallocation \
--Wlogical-not-parentheses -Woverloaded-virtual"
+-fsched-pressure -Wconditionally-supported -Wdate-time -fno-var-tracking \
+-Wopenmp-simd -Wformat-signedness -Wformat-contains-nul \
+-Wformat-extra-args -Wformat-security -Wswitch-bool -Wswitch-enum \
+-Wformat-y2k -Wformat-zero-length -Wmemset-transposed-args -Wchkp \
+-Wc++14-compat -Wsized-deallocation -Wlogical-not-parentheses \
+-Woverloaded-virtual -Warray-bounds -Wbool-compare -Wchar-subscripts \
+-Wcomment -Wmissing-braces -Wnonnull -Wopenmp-simd -Wparentheses \
+-Wreturn-type -Wsequence-point -Wswitch"
autoreconf -i
./configure --prefix=$dir/run \