summaryrefslogtreecommitdiff
path: root/build/bmakedebugsdl2
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-05-06 00:17:12 +0300
committerAndrei Karas <akaras@inbox.ru>2018-05-06 00:17:12 +0300
commitc5de1bb55720240eb644c184b5d303700ce42360 (patch)
tree2a946186b1566b6eb1c6d447aafdd779f4454920 /build/bmakedebugsdl2
parent9874a6311c6b51247caed248cfcf2d2e72095923 (diff)
downloadmanaplus-c5de1bb55720240eb644c184b5d303700ce42360.tar.gz
manaplus-c5de1bb55720240eb644c184b5d303700ce42360.tar.bz2
manaplus-c5de1bb55720240eb644c184b5d303700ce42360.tar.xz
manaplus-c5de1bb55720240eb644c184b5d303700ce42360.zip
Add new asan flags into build scripts.
Diffstat (limited to 'build/bmakedebugsdl2')
-rwxr-xr-xbuild/bmakedebugsdl21
1 files changed, 1 insertions, 0 deletions
diff --git a/build/bmakedebugsdl2 b/build/bmakedebugsdl2
index e3b5a83ab..9fbe624a1 100755
--- a/build/bmakedebugsdl2
+++ b/build/bmakedebugsdl2
@@ -20,6 +20,7 @@ export CXXFLAGS="-pedantic -ggdb3 -O3 -pipe -ffast-math \
-fsanitize=object-size -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow \
-fsanitize=nonnull-attribute -fsanitize=returns-nonnull-attribute -fsanitize=bool \
-fsanitize=enum -fsanitize=vptr \
+-fsanitize=pointer-compare -fsanitize=pointer-subtract -fsanitize=builtin -fsanitize=pointer-overflow \
-std=gnu++2a \
-fno-var-tracking -Wno-attributes"