Commit 7721f0c0 authored by Richard Gobeille's avatar Richard Gobeille
Browse files

Makefile: enable ASan with FORCEDEBUG=1, not just FORCEDEBUG=2

parent 9976fb4b
......@@ -632,13 +632,11 @@ ifeq (0,$(FORCEDEBUG))
else
COMPILERFLAGS += -DDEBUGGINGAIDS=$(FORCEDEBUG)
ifeq (2,$(FORCEDEBUG))
ifneq (0,$(CLANG))
ifneq (0,$(CLANG))
COMMONFLAGS += $(ASAN_FLAGS)
else ifneq (,$(filter 1 2 3 4 5 6,$(GCC_MAJOR)))
ifneq (,$(filter 0 1,$(GCC_MINOR)))
COMMONFLAGS += $(ASAN_FLAGS)
else ifneq (,$(filter 1 2 3 4 5 6,$(GCC_MAJOR)))
ifneq (,$(filter 0 1,$(GCC_MINOR)))
COMMONFLAGS += $(ASAN_FLAGS)
endif
endif
endif
endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment