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

SVN-Revision: 25807
v19.07.3_mercusys_ac12_duma
Felix Fietkau 13 years ago
parent 1da9f079b6
commit c2e2651b71

@ -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

Loading…
Cancel
Save