toolchain: remove -lgcc_eh from the default libgcc spec, it breaks packages

SVN-Revision: 25807
This commit is contained in:
Felix Fietkau 2011-03-01 15:38:58 +00:00
parent 1da9f079b6
commit c2e2651b71

View 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