diff src/m/arm.h @ 107206:6d88094b5e63

* m/arm.h: Define the LIB_GCC flag to be -lgcc_s (Bug#5518).
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 21 Feb 2010 08:44:07 -0500
parents 1d1d5d9bd884
children 641672d44942 376148b31b5e
line wrap: on
line diff
--- a/src/m/arm.h	Sun Feb 21 08:35:25 2010 -0500
+++ b/src/m/arm.h	Sun Feb 21 08:44:07 2010 -0500
@@ -36,5 +36,11 @@
 
 #define NO_REMAP
 
+/* armin76@gentoo.org reported that the lgcc_s flag is necessary to
+   build on ARM EABI under GNU/Linux (Bug#5518).  */
+#ifdef GNU_LINUX
+#define LIB_GCC -lgcc_s
+#endif
+
 /* arch-tag: 07856f0c-f0c8-4bd8-99af-0b7fa1e5ee42
    (do not change this comment) */