]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - config/bootstrap-ubsan.mk
Sync dfp.m4 with gcc
[thirdparty/binutils-gdb.git] / config / bootstrap-ubsan.mk
CommitLineData
4d7b5c97
JBG
1# This option enables -fsanitize=undefined for stage2 and stage3.
2
3STAGE2_CFLAGS += -fsanitize=undefined
4STAGE3_CFLAGS += -fsanitize=undefined
9b870afa
L
5POSTSTAGE1_LDFLAGS += -fsanitize=undefined -static-libubsan \
6 -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ \
4d7b5c97
JBG
7 -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/ \
8 -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/.libs