summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index edc3c42..fcb7158 100644
--- a/Makefile
+++ b/Makefile
@@ -27,13 +27,8 @@ ifeq ($(config),coverage)
endif
ifeq ($(config),sanitize)
- CXXFLAGS+=-fsanitize=address
- LDFLAGS+=-fsanitize=address
-
- ifneq ($(shell uname),Darwin)
- CXXFLAGS+=-fsanitize=undefined
- LDFLAGS+=-fsanitize=undefined
- endif
+ CXXFLAGS+=-fsanitize=address,undefined
+ LDFLAGS+=-fsanitize=address,undefined
endif
ifeq ($(config),analyze)