mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-30 15:30:41 +00:00
8869a24691
* bootstrap-asan.mk: Sync with GCC tree. * bootstrap-lto.mk: Likewise.
12 lines
442 B
Makefile
12 lines
442 B
Makefile
# This option enables -fsanitize=address for stage2 and stage3.
|
|
|
|
# Suppress LeakSanitizer in bootstrap.
|
|
export ASAN_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
|