mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-01 07:44:05 +08:00
5a4e7cade9
PR bootstrap/63888 * bootstrap-asan.mk (ASAN_OPTIONS): Export "detect_leaks=0". From-SVN: r217678
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
|