diff --git a/ChangeLog b/ChangeLog index 5759b30fd..2bfa99234 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 22a77d261..3268a302b 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 98b526c5a..1f0419c43 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++ \