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
|