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

Add config=sanitize support to Makefile

parent 59ce480f
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,11 @@ ifeq ($(config),coverage)
LDFLAGS+=-fprofile-arcs
endif
ifeq ($(config),sanitize)
CXXFLAGS+=-fsanitize=address -fsanitize=undefined -fno-sanitize=vptr
LDFLAGS+=-fsanitize=address -fsanitize=undefined
endif
ifneq ($(defines),standard)
COMMA=,
CXXFLAGS+=-D $(subst $(COMMA), -D ,$(defines))
......
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