gcc/
[official-gcc.git] / config / bootstrap-asan.mk
blobfbef02125dca4d7c9d06763e039225c052f89237
1 # This option enables -fsanitize=address for stage2 and stage3.
3 STAGE2_CFLAGS += -fsanitize=address
4 STAGE3_CFLAGS += -fsanitize=address
5 POSTSTAGE1_LDFLAGS += -fsanitize=address -static-libasan \
6 -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ \
7 -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/asan/ \
8 -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/asan/.libs