diff options
Diffstat (limited to 'toolchain/eglibc/patches/gcc_eh.patch')
-rw-r--r-- | toolchain/eglibc/patches/gcc_eh.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/toolchain/eglibc/patches/gcc_eh.patch b/toolchain/eglibc/patches/gcc_eh.patch new file mode 100644 index 000000000..1635a7d66 --- /dev/null +++ b/toolchain/eglibc/patches/gcc_eh.patch @@ -0,0 +1,18 @@ +diff -Nur eglibc-2.10.orig/libc/Makeconfig eglibc-2.10/libc/Makeconfig +--- eglibc-2.10.orig/libc/Makeconfig 2009-08-13 13:26:57.000000000 +0200 ++++ eglibc-2.10/libc/Makeconfig 2009-08-18 23:03:50.000000000 +0200 +@@ -538,12 +538,12 @@ + libunwind = -lunwind + endif + ifneq ($(have-as-needed),yes) +- libgcc_eh := -lgcc_eh $(libunwind) ++ libgcc_eh := $(libunwind) + else + libgcc_eh := -Wl,--as-needed -lgcc_s$(libgcc_s_suffix) $(libunwind) -Wl,--no-as-needed + endif + gnulib := -lgcc $(libgcc_eh) +-static-gnulib := -lgcc -lgcc_eh $(libunwind) ++static-gnulib := -lgcc $(libunwind) + libc.so-gnulib := -lgcc + endif + ifeq ($(elf),yes) |