aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-03-01 15:38:58 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-03-01 15:38:58 +0000
commite9f02cd4dde03e82dbccfc1b9bfe9e788ad2cea6 (patch)
treee100eecd910e802c387178729f467083de2edbcb /toolchain/gcc/patches
parenta5d02e629711a0e533bd2bfeec4afb0e6634077f (diff)
downloadupstream-e9f02cd4dde03e82dbccfc1b9bfe9e788ad2cea6.tar.gz
upstream-e9f02cd4dde03e82dbccfc1b9bfe9e788ad2cea6.tar.bz2
upstream-e9f02cd4dde03e82dbccfc1b9bfe9e788ad2cea6.zip
toolchain: remove -lgcc_eh from the default libgcc spec, it breaks packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25807 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/gcc/patches')
-rw-r--r--toolchain/gcc/patches/linaro/850-use_shared_libgcc.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/gcc/patches/linaro/850-use_shared_libgcc.patch b/toolchain/gcc/patches/linaro/850-use_shared_libgcc.patch
index ac0514916f..c9a565cf8b 100644
--- a/toolchain/gcc/patches/linaro/850-use_shared_libgcc.patch
+++ b/toolchain/gcc/patches/linaro/850-use_shared_libgcc.patch
@@ -29,7 +29,7 @@
#endif
+#ifndef LIBGCC_SPEC
-+#define LIBGCC_SPEC "%{static|static-libgcc:-lgcc -lgcc_eh}%{!static:%{!static-libgcc:-lgcc_s}}"
++#define LIBGCC_SPEC "%{static|static-libgcc:-lgcc}%{!static:%{!static-libgcc:-lgcc_s}}"
+#endif
+
/* Determine which dynamic linker to use depending on whether GLIBC or