aboutsummaryrefslogtreecommitdiff
path: root/config/bootstrap-asan.mk
blob: d37a9da6bbf5daad97e0bf7ceb71f8f5fb86ad42 (plain)
1
2
3
4
5
6
# 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