aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2013-11-29 18:10:21 +0000
committerH.J. Lu <hongjiu.lu@intel.com>2013-11-29 18:10:21 +0000
commit5d91fdf0ae4ad625f88ae6edef752a18e39801e8 (patch)
tree4c1d8b9e86faf1d89f3fde7a22f0acefc5c08ad8 /config
parentd3ef1cd0787bef7d5827ba7c62512d7ac98cdffd (diff)
Add -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/
* bootstrap-asan.mk (POSTSTAGE1_LDFLAGS): Add -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@205539 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'config')
-rw-r--r--config/ChangeLog5
-rw-r--r--config/bootstrap-asan.mk1
2 files changed, 6 insertions, 0 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index 6434f337ae9..b0297d52d1a 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,8 @@
+2013-11-29 H.J. Lu <hongjiu.lu@intel.com>
+
+ * bootstrap-asan.mk (POSTSTAGE1_LDFLAGS): Add
+ -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/.
+
2013-11-19 Marek Polacek <polacek@redhat.com>
* bootstrap-ubsan.mk (POSTSTAGE1_LDFLAGS): Add -ldl.
diff --git a/config/bootstrap-asan.mk b/config/bootstrap-asan.mk
index e3f34f5ad49..fbef02125dc 100644
--- a/config/bootstrap-asan.mk
+++ b/config/bootstrap-asan.mk
@@ -3,5 +3,6 @@
STAGE2_CFLAGS += -fsanitize=address
STAGE3_CFLAGS += -fsanitize=address
POSTSTAGE1_LDFLAGS += -fsanitize=address -static-libasan \
+ -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ \
-B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/asan/ \
-B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/asan/.libs