mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/native: split out asan CFLAGS_ASAN, LINKFLAGS_ASAN
This commit is contained in:
parent
02fb040d9c
commit
e26ae5c981
@ -132,9 +132,11 @@ all-valgrind: CFLAGS += -DHAVE_VALGRIND_H
|
||||
all-valgrind: NATIVEINCLUDES += $(shell pkg-config valgrind --cflags)
|
||||
all-gprof: CFLAGS += -pg
|
||||
all-gprof: LINKFLAGS += -pg
|
||||
all-asan: CFLAGS += -fsanitize=address -fno-omit-frame-pointer
|
||||
all-asan: CFLAGS += -DNATIVE_MEMORY
|
||||
all-asan: LINKFLAGS += -fsanitize=address -fno-omit-frame-pointer
|
||||
|
||||
CFLAGS_ASAN += -fsanitize=address -fno-omit-frame-pointer -DNATIVE_MEMORY
|
||||
LINKFLAGS_ASAN += -fsanitize=address -fno-omit-frame-pointer
|
||||
all-asan: CFLAGS += $(CFLAGS_ASAN)
|
||||
all-asan: LINKFLAGS += $(LINKFLAGS_ASAN)
|
||||
all-asan: export AFL_USE_ASAN=1
|
||||
|
||||
INCLUDES += $(NATIVEINCLUDES)
|
||||
|
Loading…
Reference in New Issue
Block a user