Skip to content
Snippets Groups Projects
Commit 238b786b authored by Arseny Kapoulkine's avatar Arseny Kapoulkine
Browse files

Makefile now supports Xcode 7 ASAN

All other sanitizers are still unavailable so only enable them on non-OSX
systems.
parent d04df2a4
No related branches found
No related tags found
No related merge requests found
......@@ -26,8 +26,13 @@ ifeq ($(config),coverage)
endif
ifeq ($(config),sanitize)
CXXFLAGS+=-fsanitize=address -fsanitize=undefined -fno-sanitize=vptr
LDFLAGS+=-fsanitize=address -fsanitize=undefined
CXXFLAGS+=-fsanitize=address
LDFLAGS+=-fsanitize=address
ifneq ($(shell uname),Darwin)
CXXFLAGS+=-fsanitize=undefined
LDFLAGS+=-fsanitize=undefined
endif
endif
ifneq ($(defines),standard)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment