summaryrefslogtreecommitdiff
path: root/build/bmakedebugsdl2
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-06-18 21:24:52 +0300
committerAndrei Karas <akaras@inbox.ru>2018-06-18 21:24:52 +0300
commitc29faaccaab1f4e662b176b4d5ab9fda8d8546a5 (patch)
tree727439b0e03da6f4b5ce11b2cf4c80c9e5a3bc11 /build/bmakedebugsdl2
parent8950be6472a83942964e7f50be23381bf47cc4f3 (diff)
downloadmv-c29faaccaab1f4e662b176b4d5ab9fda8d8546a5.tar.gz
mv-c29faaccaab1f4e662b176b4d5ab9fda8d8546a5.tar.bz2
mv-c29faaccaab1f4e662b176b4d5ab9fda8d8546a5.tar.xz
mv-c29faaccaab1f4e662b176b4d5ab9fda8d8546a5.zip
Add flag -D_GLIBCXX_SANITIZE_VECTOR into asan builds.
Diffstat (limited to 'build/bmakedebugsdl2')
-rwxr-xr-xbuild/bmakedebugsdl22
1 files changed, 1 insertions, 1 deletions
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 \