From 1d029889864ac29255b9baeba93decb6afaf4bf9 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 29 Nov 2012 09:00:38 -0800 Subject: Add the missing file From-SVN: r193942 --- config/bootstrap-asan.mk | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 config/bootstrap-asan.mk (limited to 'config/bootstrap-asan.mk') diff --git a/config/bootstrap-asan.mk b/config/bootstrap-asan.mk new file mode 100644 index 0000000..d37a9da --- /dev/null +++ b/config/bootstrap-asan.mk @@ -0,0 +1,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 -- cgit v1.1