diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2017-10-29 21:24:04 -0700 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2017-10-29 21:24:04 -0700 |
commit | 6fe31d14771bec9c9e0a7f425fc85394c9fcd877 (patch) | |
tree | 290e9ec85859c89e17104c93f5cf5dabd748c8cd | |
parent | 0504fa4e90e0024ff612fdfdf740ef7826191ebe (diff) |
build: Simplify config=sanitize
These days OSX clang supports UB sanitizer so we can just use the same
settings for all systems.
-rw-r--r-- | Makefile | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -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) |