From 73868396048d5a91be9e2f1cae9a44e93e7dc7e6 Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 1 Mar 2011 15:38:58 +0000 Subject: 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 --- toolchain/gcc/patches/linaro/850-use_shared_libgcc.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolchain/gcc/patches/linaro/850-use_shared_libgcc.patch b/toolchain/gcc/patches/linaro/850-use_shared_libgcc.patch index ac0514916..c9a565cf8 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 -- cgit v1.2.3