From c9ae340d17015d64f6959ea63ca80a26af5540be Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 29 Nov 2013 11:07:49 -0800 Subject: [PATCH] Add -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ * bootstrap-asan.mk (POSTSTAGE1_LDFLAGS): Add -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/. --- config/ChangeLog | 5 +++++ config/bootstrap-asan.mk | 1 + 2 files changed, 6 insertions(+) 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 + + * bootstrap-asan.mk (POSTSTAGE1_LDFLAGS): Add + -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/. + 2013-11-19 Marek Polacek * 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 -- 2.30.2