old-cross-binutils/config/bootstrap-asan.mk
H.J. Lu 8f7adb5a6c Add bootstrap-asan.mk
* bootstrap-asan.mk: New file.
2012-12-12 13:45:37 +00:00

6 lines
256 B
Makefile

# This option enables -fsanitize=address for stage2 and stage3.
STAGE2_CFLAGS += -fsanitize=address
STAGE3_CFLAGS += -fsanitize=address
POSTSTAGE1_LDFLAGS += -fsanitize=address -static-libasan \
-B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/asan/.libs