Use Pmode with stack_pointer_rtx
[official-gcc.git] / config / bootstrap-ubsan.mk
blob2d21e832e217a968e6aaf2a749a18352a0fb2d28
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 -lpthread \
6 -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/ \
7 -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/.libs