summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-09-06 09:17:01 +0200
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-09-06 09:17:01 +0200
commit649f91d73fa51b4fa93b4c8817188d09e6ca5894 (patch)
tree9724a600f4fa183a5b5308b3fc812d7147c679b1 /toolchain
parentf9358a2400e9b178d9f4f6bc26fba6e94541d4cf (diff)
fix build failure
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/eglibc/patches/gcc-linker.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/toolchain/eglibc/patches/gcc-linker.patch b/toolchain/eglibc/patches/gcc-linker.patch
new file mode 100644
index 000000000..4944066dc
--- /dev/null
+++ b/toolchain/eglibc/patches/gcc-linker.patch
@@ -0,0 +1,15 @@
+diff -Nur eglibc-2.16.orig/libc/Makeconfig eglibc-2.16/libc/Makeconfig
+--- eglibc-2.16.orig/libc/Makeconfig 2012-07-31 09:00:21.000000000 +0200
++++ eglibc-2.16/libc/Makeconfig 2012-08-30 13:01:34.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)