summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2022-12-24 09:30:36 +0200
committerDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2022-12-24 09:30:36 +0200
commit2bb270eb071d476b904e9d12cc1bb21e2f38155d (patch)
tree4bfeabeb1cccfa7afbd1f36f3ad79e717e5366ee /Makefile
parent4395edfaa7e64cc9db2068b25a8530c699250274 (diff)
build: add address-sanitizer for MU_HACKER builds
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6ea1b81..0994288 100644
--- a/Makefile
+++ b/Makefile
@@ -28,10 +28,9 @@ endif
# when MU_HACKER is set, do a debug build
ifneq (${MU_HACKER},)
-MESON_FLAGS:=$(MESON_FLAGS) '-Dbuildtype=debug'
+MESON_FLAGS:=$(MESON_FLAGS) '-Dbuildtype=debug' '-Db_sanitize=address'
endif
-
.PHONY: all
.PHONY: check test test-verbose-if-fail test-valgrind test-helgrind
.PHONY: benchmark coverage