OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
2.6 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../uclibc/pkg_patch/gcc-300-libstdc++-pic.patch
  5. # Copyright (C) 2006 The OpenSDE Project
  6. # Copyright (C) 2004 - 2006 The T2 SDE Project
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This patch file is dual-licensed. It is available under the license the
  11. # patched project is licensed under, as long as it is an OpenSource license
  12. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  13. # of the GNU General Public License as published by the Free Software
  14. # Foundation; either version 2 of the License, or (at your option) any later
  15. # version.
  16. # --- SDE-COPYRIGHT-NOTE-END ---
  17. diff -urN gcc-4.0.0-200/libstdc++-v3/src/Makefile.am gcc-4.0.0/libstdc++-v3/src/Makefile.am
  18. --- gcc-4.0.0-200/libstdc++-v3/src/Makefile.am 2004-11-15 17:33:05.000000000 -0600
  19. +++ gcc-4.0.0/libstdc++-v3/src/Makefile.am 2005-04-28 21:42:18.614344056 -0500
  20. @@ -214,6 +214,10 @@
  21. $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LDFLAGS) -o $@
  22. +install-exec-local:
  23. + $(AR) cru libstdc++_pic.a *.o $(top_builddir)/libsupc++/*.o
  24. + $(INSTALL_DATA) libstdc++_pic.a $(DESTDIR)$(toolexeclibdir)
  25. +
  26. # Added bits to build debug library.
  27. if GLIBCXX_BUILD_DEBUG
  28. all-local: build_debug
  29. diff -urN gcc-4.0.0-200/libstdc++-v3/src/Makefile.in gcc-4.0.0/libstdc++-v3/src/Makefile.in
  30. --- gcc-4.0.0-200/libstdc++-v3/src/Makefile.in 2005-02-01 00:56:27.000000000 -0600
  31. +++ gcc-4.0.0/libstdc++-v3/src/Makefile.in 2005-04-28 21:44:20.868758560 -0500
  32. @@ -625,7 +625,7 @@
  33. install-data-am: install-data-local
  34. -install-exec-am: install-toolexeclibLTLIBRARIES
  35. +install-exec-am: install-toolexeclibLTLIBRARIES install-exec-local
  36. install-info: install-info-am
  37. @@ -664,7 +664,7 @@
  38. maintainer-clean-generic mostlyclean mostlyclean-compile \
  39. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  40. tags uninstall uninstall-am uninstall-info-am \
  41. - uninstall-toolexeclibLTLIBRARIES
  42. + uninstall-toolexeclibLTLIBRARIES install-exec-local
  43. @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@libstdc++-symbol.ver: ${glibcxx_srcdir}/$(SYMVER_MAP)
  44. @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@ cp ${glibcxx_srcdir}/$(SYMVER_MAP) ./libstdc++-symbol.ver
  45. @@ -743,6 +743,11 @@
  46. install_debug:
  47. (cd ${debugdir} && $(MAKE) \
  48. toolexeclibdir=$(glibcxx_toolexeclibdir)/debug install)
  49. +
  50. +install-exec-local:
  51. + $(AR) cru libstdc++_pic.a *.o $(top_builddir)/libsupc++/*.o
  52. + $(INSTALL_DATA) libstdc++_pic.a $(DESTDIR)$(toolexeclibdir)
  53. +
  54. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  55. # Otherwise a system limit (for SysV at least) may be exceeded.
  56. .NOEXPORT: