Retro68/binutils/config/bootstrap-asan.mk

9 lines
365 B
Makefile
Raw Normal View History

# This option enables -fsanitize=address for stage2 and stage3.
STAGE2_CFLAGS += -fsanitize=address
STAGE3_CFLAGS += -fsanitize=address
POSTSTAGE1_LDFLAGS += -fsanitize=address -static-libasan \
2015-08-28 15:32:19 +00:00
-B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ \
-B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/asan/ \
-B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/asan/.libs