]> gcc.gnu.org Git - gcc.git/blame - config/bootstrap-ubsan.mk
Improve boostrap-ubsan config (PR bootstrap/64914).
[gcc.git] / config / bootstrap-ubsan.mk
CommitLineData
de5a5fa1
MP
1# This option enables -fsanitize=undefined for stage2 and stage3.
2
84ec5aea
ML
3STAGE2_CFLAGS += -fsanitize=undefined -DUBSAN_BOOTSTRAP
4STAGE3_CFLAGS += -fsanitize=undefined -DUBSAN_BOOTSTRAP
5POSTSTAGE1_LDFLAGS += -fsanitize=undefined -static-libubsan -DUBSAN_BOOTSTRAP \
3163a5ca 6 -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ \
de5a5fa1
MP
7 -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/ \
8 -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/.libs
This page took 0.351653 seconds and 5 git commands to generate.