build: add address-sanitizer for MU_HACKER builds

This commit is contained in:
Dirk-Jan C. Binnema 2022-12-24 09:30:36 +02:00
parent 4395edfaa7
commit 2bb270eb07
1 changed files with 1 additions and 2 deletions

View File

@ -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