From 394dd2c1f601babb5975fc5333fcd0e273ec7a79 Mon Sep 17 00:00:00 2001
From: hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Thu, 29 Nov 2012 17:00:38 +0000
Subject: Add the missing file

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193942 138bc75d-0d04-0410-961f-82ee72b054a4
---
 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 00000000000..d37a9da6bbf
--- /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.2.1