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.

39 lines
1.4 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../glibc/gcc_eh.patch.cross
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. A GCC cross compiler does not yield a libgcc_eh.so. The GCC and GlibC team
  17. should smoke their good stuff together (and the GlibC freaks be fet with a
  18. book about release management ...).
  19. - Rene Rebe <rene@exactcode.de>
  20. --- libc/Makeconfig.orig 2004-12-31 20:33:44.918457704 +0100
  21. +++ libc/Makeconfig 2004-12-31 20:55:54.452337832 +0100
  22. @@ -514,12 +514,12 @@
  23. libunwind = -lunwind
  24. endif
  25. ifneq ($(have-as-needed),yes)
  26. - libgcc_eh := -lgcc_eh $(libunwind)
  27. + libgcc_eh := $(libunwind)
  28. else
  29. libgcc_eh := -Wl,--as-needed -lgcc_s$(libgcc_s_suffix) $(libunwind) -Wl,--no-as-needed
  30. endif
  31. gnulib := -lgcc $(libgcc_eh)
  32. -static-gnulib := -lgcc -lgcc_eh $(libunwind)
  33. +static-gnulib := -lgcc $(libunwind)
  34. libc.so-gnulib := -lgcc
  35. endif
  36. ifeq ($(elf),yes)