mirror of https://github.com/djcb/mu.git
build: add address-sanitizer for MU_HACKER builds
This commit is contained in:
parent
4395edfaa7
commit
2bb270eb07
3
Makefile
3
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
|
||||
|
|
Loading…
Reference in New Issue