mirror of
https://github.com/lh3/minimap2.git
synced 2026-10-10 09:10:57 +08:00
added the asan and tsan targets to Makefile
This commit is contained in:
@@ -22,6 +22,16 @@ else #if aarch64 is defined
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq ($(asan),)
|
||||||
|
CFLAGS+=-fsanitize=address
|
||||||
|
LIBS+=-fsanitize=address
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifneq ($(tsan),)
|
||||||
|
CFLAGS+=-fsanitize=thread
|
||||||
|
LIBS+=-fsanitize=thread
|
||||||
|
endif
|
||||||
|
|
||||||
.PHONY:all extra clean depend
|
.PHONY:all extra clean depend
|
||||||
.SUFFIXES:.c .o
|
.SUFFIXES:.c .o
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user