summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild/bmakedebug1
-rwxr-xr-xbuild/bmakedebugsdl21
2 files changed, 2 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"
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"