You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
442 B
Makefile
12 lines
442 B
Makefile
1 year ago
|
# This option enables -fsanitize=address for stage2 and stage3.
|
||
|
|
||
|
# Suppress LeakSanitizer in bootstrap.
|
||
|
export LSAN_OPTIONS="detect_leaks=0"
|
||
|
|
||
|
STAGE2_CFLAGS += -fsanitize=address
|
||
|
STAGE3_CFLAGS += -fsanitize=address
|
||
|
POSTSTAGE1_LDFLAGS += -fsanitize=address -static-libasan \
|
||
|
-B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ \
|
||
|
-B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/asan/ \
|
||
|
-B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/asan/.libs
|