1# This option enables -fsanitize=address for stage2 and stage3.
2
3STAGE2_CFLAGS += -fsanitize=address
4STAGE3_CFLAGS += -fsanitize=address
5POSTSTAGE1_LDFLAGS += -fsanitize=address -static-libasan \
6		      -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ \
7		      -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/asan/ \
8		      -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/asan/.libs
9