summaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/4.0.4/300-libstdc++-pic.patch
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-02-09 13:31:55 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-02-09 13:31:55 +0000
commit7779fd745393c02e51976c1d1888db16adc225f8 (patch)
tree40e8e24c25635c89c73f0781c4e22bf272d55a24 /toolchain/gcc/4.0.4/300-libstdc++-pic.patch
parent19818694fe6fa3412a6636a3ed783e0d6832d6e6 (diff)
downloadbuildroot-novena-7779fd745393c02e51976c1d1888db16adc225f8.tar.gz
buildroot-novena-7779fd745393c02e51976c1d1888db16adc225f8.zip
- add gcc-4.0.4
- add knob to enable unsupported, deprecated, obsoleted versions of packages
Diffstat (limited to 'toolchain/gcc/4.0.4/300-libstdc++-pic.patch')
-rw-r--r--toolchain/gcc/4.0.4/300-libstdc++-pic.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/toolchain/gcc/4.0.4/300-libstdc++-pic.patch b/toolchain/gcc/4.0.4/300-libstdc++-pic.patch
new file mode 100644
index 000000000..a9d6e7185
--- /dev/null
+++ b/toolchain/gcc/4.0.4/300-libstdc++-pic.patch
@@ -0,0 +1,45 @@
+--- gcc-4.0.0/libstdc++-v3/src/Makefile.am
++++ gcc-4.0.0/libstdc++-v3/src/Makefile.am
+@@ -214,6 +214,10 @@
+ $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LDFLAGS) -o $@
+
+
++install-exec-local:
++ $(AR) cru libstdc++_pic.a *.o $(top_builddir)/libsupc++/*.o
++ $(INSTALL_DATA) libstdc++_pic.a $(DESTDIR)$(toolexeclibdir)
++
+ # Added bits to build debug library.
+ if GLIBCXX_BUILD_DEBUG
+ all-local: build_debug
+--- gcc-4.0.0/libstdc++-v3/src/Makefile.in
++++ gcc-4.0.0/libstdc++-v3/src/Makefile.in
+@@ -625,7 +625,7 @@
+
+ install-data-am: install-data-local
+
+-install-exec-am: install-toolexeclibLTLIBRARIES
++install-exec-am: install-toolexeclibLTLIBRARIES install-exec-local
+
+ install-info: install-info-am
+
+@@ -664,7 +664,7 @@
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags uninstall uninstall-am uninstall-info-am \
+- uninstall-toolexeclibLTLIBRARIES
++ uninstall-toolexeclibLTLIBRARIES install-exec-local
+
+ @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@libstdc++-symbol.ver: ${glibcxx_srcdir}/$(SYMVER_MAP)
+ @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@ cp ${glibcxx_srcdir}/$(SYMVER_MAP) ./libstdc++-symbol.ver
+@@ -743,6 +743,11 @@
+ install_debug:
+ (cd ${debugdir} && $(MAKE) \
+ toolexeclibdir=$(glibcxx_toolexeclibdir)/debug install)
++
++install-exec-local:
++ $(AR) cru libstdc++_pic.a *.o $(top_builddir)/libsupc++/*.o
++ $(INSTALL_DATA) libstdc++_pic.a $(DESTDIR)$(toolexeclibdir)
++
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT: