toolchain: remove -lgcc_eh from the default libgcc spec, it breaks packages
[openwrt/staging/dedeckeh.git] / toolchain / gcc / patches / linaro / 850-use_shared_libgcc.patch
index ac0514916f849cffd225e42533f92551930f2711..c9a565cf8b3eb09d83e321595a884baf7d4f5e9a 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