source: trunk/libs/newlib/src/config/bootstrap-ubsan.mk @ 487

Last change on this file since 487 was 444, checked in by satin@…, 7 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 376 bytes
Line 
1# This option enables -fsanitize=undefined for stage2 and stage3.
2
3STAGE2_CFLAGS += -fsanitize=undefined
4STAGE3_CFLAGS += -fsanitize=undefined
5POSTSTAGE1_LDFLAGS += -fsanitize=undefined -static-libubsan \
6                      -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ \
7                      -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/ \
8                      -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/.libs
Note: See TracBrowser for help on using the repository browser.