From 1d14850fc0117b88bf9d648d0e1b16e95310185a Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Sun, 18 Jul 2010 08:12:40 +0000 Subject: [PATCH] 2010-07-17 Jack Howarth 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. --- ChangeLog | 8 ++++++++ Makefile.in | 1 + Makefile.tpl | 1 + 3 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 5759b30..2bfa992 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2010-07-17 Jack Howarth + + 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 * 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++ \ -- 2.7.4