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 | |
parent | 8950be6472a83942964e7f50be23381bf47cc4f3 (diff) | |
download | manaverse-c29faaccaab1f4e662b176b4d5ab9fda8d8546a5.tar.gz manaverse-c29faaccaab1f4e662b176b4d5ab9fda8d8546a5.tar.bz2 manaverse-c29faaccaab1f4e662b176b4d5ab9fda8d8546a5.tar.xz manaverse-c29faaccaab1f4e662b176b4d5ab9fda8d8546a5.zip |
Add flag -D_GLIBCXX_SANITIZE_VECTOR into asan builds.
Diffstat (limited to 'build')
-rwxr-xr-x | build/bmakedebug | 2 | ||||
-rwxr-xr-x | build/bmakedebugsdl2 | 2 |
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 \ |