Add -ffat-lto-objects to STAGE[23]_CFLAGS
[external/binutils.git] / config / bootstrap-asan.mk
1 # This option enables -fsanitize=address for stage2 and stage3.
2
3 STAGE2_CFLAGS += -fsanitize=address
4 STAGE3_CFLAGS += -fsanitize=address
5 POSTSTAGE1_LDFLAGS += -fsanitize=address -static-libasan \
6                       -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/asan/ \
7                       -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/asan/.libs