Browse Source

Enable ASAN for debug builds.

master
Ben Kurtovic 9 years ago
parent
commit
f5e1f19ab6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      makefile

+ 1
- 1
makefile View File

@@ -22,7 +22,7 @@ DIRS = $(sort $(dir $(OBJS)))


ifdef DEBUG ifdef DEBUG
BNRY := $(BNRY)$(DEVEXT) BNRY := $(BNRY)$(DEVEXT)
FLAGS += -g -DDEBUG_MODE
FLAGS += -g -fsanitize=address -DDEBUG_MODE
MODE = debug MODE = debug
endif endif




Loading…
Cancel
Save