From: Felix Fietkau Date: Tue, 1 Mar 2011 15:38:58 +0000 (+0000) Subject: toolchain: remove -lgcc_eh from the default libgcc spec, it breaks packages X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c2e2651b712c5e6eaa7dabae1290d9885c7ae85c;p=openwrt%2Fstaging%2Fwigyori.git toolchain: remove -lgcc_eh from the default libgcc spec, it breaks packages SVN-Revision: 25807 --- 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