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