summaryrefslogtreecommitdiff
path: root/config/bootstrap-asan.mk
blob: e3f34f5ad49ea0e7df17d3b6d2423d4230611430 (plain)
1
2
3
4
5
6
7
# 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/ \
		      -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/asan/.libs