Browse Source

Add -fsanitize=address to debug make builds

Signed-off-by: falkTX <falktx@falktx.com>
pull/392/head
falkTX 2 years ago
parent
commit
2f9564a28e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Makefile.base.mk

+ 1
- 1
Makefile.base.mk View File

@@ -272,7 +272,7 @@ BASE_OPTS = -O2 -ffast-math -fdata-sections -ffunction-sections
endif

ifeq ($(DEBUG),true)
BASE_FLAGS += -DDEBUG -O0 -g
BASE_FLAGS += -DDEBUG -O0 -g -fsanitize=address
LINK_OPTS =
ifeq ($(WASM),true)
LINK_OPTS += -sASSERTIONS=1


Loading…
Cancel
Save