diff options
author | falkTX <falktx@falktx.com> | 2022-11-25 22:37:42 +0000 |
---|---|---|
committer | falkTX <falktx@falktx.com> | 2022-11-25 22:38:08 +0000 |
commit | 2f9564a28e6e1b69f7e28b5e80ee0096fd283233 (patch) | |
tree | ac105644fd2eca263cb4a0e6646e0c3c8fd026b1 | |
parent | 52f50cde8ee1ae4898a88abd0a17ffd77d600388 (diff) |
Add -fsanitize=address to debug make builds
Signed-off-by: falkTX <falktx@falktx.com>
-rw-r--r-- | Makefile.base.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.base.mk b/Makefile.base.mk index 6cf69a82..651c1e0f 100644 --- a/Makefile.base.mk +++ b/Makefile.base.mk @@ -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 |