summaryrefslogtreecommitdiff
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
commitc2e2651b712c5e6eaa7dabae1290d9885c7ae85c (patch)
tree9fe9b25e3bf5471fc129b10d37daca432e070054 /toolchain/gcc/patches
parent1da9f079b6e3d74a0f83e2d3ad7e1da96196aff2 (diff)
downloadmtk-20170518-c2e2651b712c5e6eaa7dabae1290d9885c7ae85c.zip
mtk-20170518-c2e2651b712c5e6eaa7dabae1290d9885c7ae85c.tar.gz
mtk-20170518-c2e2651b712c5e6eaa7dabae1290d9885c7ae85c.tar.bz2
toolchain: remove -lgcc_eh from the default libgcc spec, it breaks packages
SVN-Revision: 25807
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 ac05149..c9a565c 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