summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild/bmakedebug2
-rwxr-xr-xbuild/bmakedebugsdl22
2 files changed, 2 insertions, 2 deletions
diff --git a/build/bmakedebug b/build/bmakedebug
index a47c160e0..885d41a08 100755
--- a/build/bmakedebug
+++ b/build/bmakedebug
@@ -11,7 +11,7 @@ export CXX="ccache g++"
export LANG=C
export CXXFLAGS="-pedantic -ggdb3 -O3 -pipe -ffast-math \
--D_FORTIFY_SOURCE=2 \
+-D_FORTIFY_SOURCE=2 -D_GLIBCXX_SANITIZE_VECTOR \
-fno-omit-frame-pointer \
-fsanitize=address -fsanitize=undefined \
-fsanitize=shift -fsanitize=integer-divide-by-zero -fsanitize=unreachable \
diff --git a/build/bmakedebugsdl2 b/build/bmakedebugsdl2
index 9fbe624a1..66f304e87 100755
--- a/build/bmakedebugsdl2
+++ b/build/bmakedebugsdl2
@@ -11,7 +11,7 @@ export CXX="ccache g++"
export LANG=C
export CXXFLAGS="-pedantic -ggdb3 -O3 -pipe -ffast-math \
--D_FORTIFY_SOURCE=2 \
+-D_FORTIFY_SOURCE=2 -D_GLIBCXX_SANITIZE_VECTOR \
-fno-omit-frame-pointer \
-fsanitize=address -fsanitize=undefined \
-fsanitize=shift -fsanitize=integer-divide-by-zero -fsanitize=unreachable \