summaryrefslogtreecommitdiff
path: root/toolchain/eglibc/patches/gcc_eh.patch
blob: 1635a7d668a386acb54737bb26e3a7295abc408e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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)