summaryrefslogtreecommitdiff
path: root/build/bmakedebug
diff options
context:
space:
mode:
Diffstat (limited to 'build/bmakedebug')
-rwxr-xr-xbuild/bmakedebug4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/bmakedebug b/build/bmakedebug
index 8c3d43089..935666128 100755
--- a/build/bmakedebug
+++ b/build/bmakedebug
@@ -9,13 +9,15 @@ export CXX=g++-4.9
export LANG=C
+# -Wdisabled-optimization look like gcc issue
+
export CXXFLAGS="-ggdb3 -O2 -pipe -ffast-math \
-fsanitize=address \
-fno-omit-frame-pointer -funswitch-loops \
-Wvariadic-macros -Wvla -Wredundant-decls \
-Wpacked-bitfield-compat -Wtrampolines \
-Wsuggest-attribute=noreturn -Wunused -Wstrict-aliasing=2 \
--fstrict-aliasing -Wunreachable-code -Wabi -Wdisabled-optimization \
+-fstrict-aliasing -Wunreachable-code -Wabi \
-Wvolatile-register-var -Winvalid-pch -Wredundant-decls \
-Wnormalized=nfkc -Wmissing-format-attribute -Wmissing-noreturn \
-Wswitch-default -Wsign-promo -Waddress -Wmissing-declarations \