mirror of the now-defunct rocklinux.org
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.

37 lines
1.5 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/base/glibc/glibc23/gcc_eh.patch.cross
  9. # ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. diff -ruN glibc-2.3.4/Makeconfig glibc-2.3.4-new/Makeconfig
  20. --- glibc-2.3.4/Makeconfig 2004-12-15 19:51:47.000000000 +0100
  21. +++ glibc-2.3.4-new/Makeconfig 2005-03-27 15:47:19.000000000 +0200
  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)