mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-24 19:33:59 +08:00
84ec5aea48
2018-05-10 Martin Liska <mliska@suse.cz> PR bootstrap/64914 * bootstrap-ubsan.mk: Define UBSAN_BOOTSTRAP. 2018-05-10 Martin Liska <mliska@suse.cz> PR bootstrap/64914 * md5.c: Use strict alignment with UBSAN_BOOTSTRAP. From-SVN: r260112
9 lines
430 B
Makefile
9 lines
430 B
Makefile
# This option enables -fsanitize=undefined for stage2 and stage3.
|
|
|
|
STAGE2_CFLAGS += -fsanitize=undefined -DUBSAN_BOOTSTRAP
|
|
STAGE3_CFLAGS += -fsanitize=undefined -DUBSAN_BOOTSTRAP
|
|
POSTSTAGE1_LDFLAGS += -fsanitize=undefined -static-libubsan -DUBSAN_BOOTSTRAP \
|
|
-B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ \
|
|
-B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/ \
|
|
-B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/.libs
|