mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-21 01:55:15 +08:00
3163a5cab5
* bootstrap-ubsan.mk (POSTSTAGE1_LDFLAGS): Remove -lpthread -ldl. Add -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/. From-SVN: r205542
9 lines
376 B
Makefile
9 lines
376 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 \
|
|
-B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ \
|
|
-B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/ \
|
|
-B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/.libs
|