build: add address-sanitizer for MU_HACKER builds
This commit is contained in:
3
Makefile
3
Makefile
@ -28,10 +28,9 @@ endif
|
|||||||
|
|
||||||
# when MU_HACKER is set, do a debug build
|
# when MU_HACKER is set, do a debug build
|
||||||
ifneq (${MU_HACKER},)
|
ifneq (${MU_HACKER},)
|
||||||
MESON_FLAGS:=$(MESON_FLAGS) '-Dbuildtype=debug'
|
MESON_FLAGS:=$(MESON_FLAGS) '-Dbuildtype=debug' '-Db_sanitize=address'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
.PHONY: check test test-verbose-if-fail test-valgrind test-helgrind
|
.PHONY: check test test-verbose-if-fail test-valgrind test-helgrind
|
||||||
.PHONY: benchmark coverage
|
.PHONY: benchmark coverage
|
||||||
|
|||||||
Reference in New Issue
Block a user