gcc_eh.patch 627 B

123456789101112131415161718
  1. diff -Nur eglibc-2.10.orig/libc/Makeconfig eglibc-2.10/libc/Makeconfig
  2. --- eglibc-2.10.orig/libc/Makeconfig 2009-08-13 13:26:57.000000000 +0200
  3. +++ eglibc-2.10/libc/Makeconfig 2009-08-18 23:03:50.000000000 +0200
  4. @@ -538,12 +538,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)