mirror of
https://github.com/RPCS3/pugixml.git
synced 2026-01-31 01:25:21 +01:00
Makefile now supports Xcode 7 ASAN
All other sanitizers are still unavailable so only enable them on non-OSX systems.
This commit is contained in:
9
Makefile
9
Makefile
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user