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