Avoid creating useless debug temporaries
[official-gcc.git] / config / bootstrap-ubsan.mk
blob1d85fe1c836dce0a54d2b7577fb91db93b1081db
1 # This option enables -fsanitize=undefined for stage2 and stage3.
3 STAGE2_CFLAGS += -fsanitize=undefined -DUBSAN_BOOTSTRAP
4 STAGE3_CFLAGS += -fsanitize=undefined -DUBSAN_BOOTSTRAP
5 POSTSTAGE1_LDFLAGS += -fsanitize=undefined -static-libubsan -DUBSAN_BOOTSTRAP \
6 -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ \
7 -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/ \
8 -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/.libs