4d7b5c9754
* ChangeLog: Sync from GCC. * mh-darwin: Ditto. * bootstrap-ubsan.mk: Ditto.
7 lines
334 B
Makefile
7 lines
334 B
Makefile
# This option enables -fsanitize=undefined for stage2 and stage3.
|
|
|
|
STAGE2_CFLAGS += -fsanitize=undefined
|
|
STAGE3_CFLAGS += -fsanitize=undefined
|
|
POSTSTAGE1_LDFLAGS += -fsanitize=undefined -static-libubsan -lpthread \
|
|
-B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/ \
|
|
-B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/.libs
|