gcc/config/bootstrap-asan.mk

9 lines
365 B
Makefile
Raw Normal View History

2012-11-29 18:00:38 +01:00
# This option enables -fsanitize=address for stage2 and stage3.
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/ \
2012-11-29 18:00:38 +01:00
-B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/asan/.libs