gcc_eh.patch 576 B

123456789101112131415
  1. diff -Nur glibc-2.16.0.orig/Makeconfig glibc-2.16.0/Makeconfig
  2. --- glibc-2.16.0.orig/Makeconfig 2012-06-30 21:12:34.000000000 +0200
  3. +++ glibc-2.16.0/Makeconfig 2012-08-02 10:18:56.000000000 +0200
  4. @@ -521,9 +521,9 @@
  5. else
  6. libunwind = -lunwind
  7. endif
  8. -libgcc_eh := -Wl,--as-needed -lgcc_s $(libunwind) -Wl,--no-as-needed
  9. +libgcc_eh := -Wl,--as-needed $(libunwind) -Wl,--no-as-needed
  10. gnulib := -lgcc $(libgcc_eh)
  11. -static-gnulib := -lgcc -lgcc_eh $(libunwind)
  12. +static-gnulib := -lgcc $(libunwind)
  13. libc.so-gnulib := -lgcc
  14. endif
  15. +preinit = $(addprefix $(csu-objpfx),crti.o)