aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--Makefile.in1
-rw-r--r--Makefile.tpl1
3 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5759b30..2bfa992 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-07-17 Jack Howarth <howarth@bromo.med.uc.edu>
+
+ PR target/44862
+ * Makefile.tpl (POSTSTAGE1_CXX_EXPORT):
+ Provide -B option to allow for link spec %s substitutions for
+ libstdc++.a on darwin.
+ * Makefile.in: Regenerate.
+
2010-06-10 Alexandre Oliva <aoliva@redhat.com>
* Makefile.def (configure-gcc): Depend on all-libelf.
diff --git a/Makefile.in b/Makefile.in
index 22a77d2..3268a30 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -235,6 +235,7 @@ POSTSTAGE1_CXX_EXPORT = \
POSTSTAGE1_CXX_EXPORT = \
CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/g++$(exeext) \
-B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
+ -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
-I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
-I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
-I$$s/libstdc++-v3/libsupc++ \
diff --git a/Makefile.tpl b/Makefile.tpl
index 98b526c..1f0419c 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -238,6 +238,7 @@ POSTSTAGE1_CXX_EXPORT = \
POSTSTAGE1_CXX_EXPORT = \
CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/g++$(exeext) \
-B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
+ -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
-I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
-I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
-I$$s/libstdc++-v3/libsupc++ \