1 # This option enables -fsanitize=address for stage2 and stage3.
3 STAGE2_CFLAGS
+= -fsanitize
=address
4 STAGE3_CFLAGS
+= -fsanitize
=address
5 POSTSTAGE1_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