toolchain: remove -lgcc_eh from the default libgcc spec, it breaks packages
authorFelix Fietkau <nbd@openwrt.org>
Tue, 1 Mar 2011 15:38:58 +0000 (15:38 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 1 Mar 2011 15:38:58 +0000 (15:38 +0000)
SVN-Revision: 25807

toolchain/gcc/patches/linaro/850-use_shared_libgcc.patch

index ac05149..c9a565c 100644 (file)
@@ -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