summaryrefslogtreecommitdiff
path: root/build/bmakedebug
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/bmakedebug
parent9874a6311c6b51247caed248cfcf2d2e72095923 (diff)
downloadmv-c5de1bb55720240eb644c184b5d303700ce42360.tar.gz
mv-c5de1bb55720240eb644c184b5d303700ce42360.tar.bz2
mv-c5de1bb55720240eb644c184b5d303700ce42360.tar.xz
mv-c5de1bb55720240eb644c184b5d303700ce42360.zip
Add new asan flags into build scripts.
Diffstat (limited to 'build/bmakedebug')
-rwxr-xr-xbuild/bmakedebug1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/bmakedebug b/build/bmakedebug
index d2e3f6a02..a47c160e0 100755
--- a/build/bmakedebug
+++ b/build/bmakedebug
@@ -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=bounds-strict \
+-fsanitize=pointer-compare -fsanitize=pointer-subtract -fsanitize=builtin -fsanitize=pointer-overflow \
-std=gnu++2a \
-fno-var-tracking -Wno-attributes"