2013-10-17 04:45:20 +08:00
|
|
|
# This option enables -fsanitize=undefined for stage2 and stage3.
|
|
|
|
|
|
|
|
STAGE2_CFLAGS += -fsanitize=undefined
|
|
|
|
STAGE3_CFLAGS += -fsanitize=undefined
|
2016-03-22 17:25:20 +08:00
|
|
|
POSTSTAGE1_LDFLAGS += -fsanitize=undefined -static-libubsan \
|
|
|
|
-B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ \
|
2013-10-17 04:45:20 +08:00
|
|
|
-B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/ \
|
|
|
|
-B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/.libs
|