diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-06-18 21:24:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-06-18 21:24:52 +0300 |
commit | c29faaccaab1f4e662b176b4d5ab9fda8d8546a5 (patch) | |
tree | 727439b0e03da6f4b5ce11b2cf4c80c9e5a3bc11 /build/bmakedebugsdl2 | |
parent | 8950be6472a83942964e7f50be23381bf47cc4f3 (diff) | |
download | mv-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-x | build/bmakedebugsdl2 | 2 |
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 \ |