gcc_eh.patch 611 B

123456789101112131415161718
  1. diff -Nur glibc-2.10.1.orig/Makeconfig glibc-2.10.1/Makeconfig
  2. --- glibc-2.10.1.orig/Makeconfig 2009-08-20 08:51:54.000000000 +0200
  3. +++ glibc-2.10.1/Makeconfig 2009-08-21 01:53:59.000000000 +0200
  4. @@ -525,12 +525,12 @@
  5. libunwind = -lunwind
  6. endif
  7. ifneq ($(have-as-needed),yes)
  8. - libgcc_eh := -lgcc_eh $(libunwind)
  9. + libgcc_eh := $(libunwind)
  10. else
  11. libgcc_eh := -Wl,--as-needed -lgcc_s$(libgcc_s_suffix) $(libunwind) -Wl,--no-as-needed
  12. endif
  13. gnulib := -lgcc $(libgcc_eh)
  14. -static-gnulib := -lgcc -lgcc_eh $(libunwind)
  15. +static-gnulib := -lgcc $(libunwind)
  16. libc.so-gnulib := -lgcc
  17. endif
  18. ifeq ($(elf),yes)