1.1 --- a/patches/gcc/4.0.3/120-libstdc++-pic.patch Wed Oct 28 12:03:38 2009 +0100
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,45 +0,0 @@
1.4 ---- gcc-4.0.0/libstdc++-v3/src/Makefile.am
1.5 -+++ gcc-4.0.0/libstdc++-v3/src/Makefile.am
1.6 -@@ -214,6 +214,10 @@
1.7 - $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LDFLAGS) -o $@
1.8 -
1.9 -
1.10 -+install-exec-local:
1.11 -+ $(AR) cru libstdc++_pic.a *.o $(top_builddir)/libsupc++/*.o
1.12 -+ $(INSTALL_DATA) libstdc++_pic.a $(DESTDIR)$(toolexeclibdir)
1.13 -+
1.14 - # Added bits to build debug library.
1.15 - if GLIBCXX_BUILD_DEBUG
1.16 - all-local: build_debug
1.17 ---- gcc-4.0.0/libstdc++-v3/src/Makefile.in
1.18 -+++ gcc-4.0.0/libstdc++-v3/src/Makefile.in
1.19 -@@ -625,7 +625,7 @@
1.20 -
1.21 - install-data-am: install-data-local
1.22 -
1.23 --install-exec-am: install-toolexeclibLTLIBRARIES
1.24 -+install-exec-am: install-toolexeclibLTLIBRARIES install-exec-local
1.25 -
1.26 - install-info: install-info-am
1.27 -
1.28 -@@ -664,7 +664,7 @@
1.29 - maintainer-clean-generic mostlyclean mostlyclean-compile \
1.30 - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1.31 - tags uninstall uninstall-am uninstall-info-am \
1.32 -- uninstall-toolexeclibLTLIBRARIES
1.33 -+ uninstall-toolexeclibLTLIBRARIES install-exec-local
1.34 -
1.35 - @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@libstdc++-symbol.ver: ${glibcxx_srcdir}/$(SYMVER_MAP)
1.36 - @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@ cp ${glibcxx_srcdir}/$(SYMVER_MAP) ./libstdc++-symbol.ver
1.37 -@@ -743,6 +743,11 @@
1.38 - install_debug:
1.39 - (cd ${debugdir} && $(MAKE) \
1.40 - toolexeclibdir=$(glibcxx_toolexeclibdir)/debug install)
1.41 -+
1.42 -+install-exec-local:
1.43 -+ $(AR) cru libstdc++_pic.a *.o $(top_builddir)/libsupc++/*.o
1.44 -+ $(INSTALL_DATA) libstdc++_pic.a $(DESTDIR)$(toolexeclibdir)
1.45 -+
1.46 - # Tell versions [3.59,3.63) of GNU make to not export all variables.
1.47 - # Otherwise a system limit (for SysV at least) may be exceeded.
1.48 - .NOEXPORT: