summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2010-02-21 08:44:07 -0500
committerChong Yidong <cyd@stupidchicken.com>2010-02-21 08:44:07 -0500
commit676cae9f089edca7b8f7e28b1348c95d51fd65c4 (patch)
tree9e7cce0b15dd13e32d2c8466bd1a6aff13e32cac
parenta1e759cdee1e55574f5395efc046985ab05faef1 (diff)
downloademacs-676cae9f089edca7b8f7e28b1348c95d51fd65c4.tar.gz
* m/arm.h: Define the LIB_GCC flag to be -lgcc_s (Bug#5518).
-rw-r--r--src/ChangeLog4
-rw-r--r--src/m/arm.h6
2 files changed, 10 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 14e06fc1e28..74a9c2e2179 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2010-02-21 Chong Yidong <cyd@stupidchicken.com>
+
+ * m/arm.h: Define the LIB_GCC flag to be -lgcc_s (Bug#5518).
+
2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
* term.c (fatal): Add a final \n if needed (bug#5596).
diff --git a/src/m/arm.h b/src/m/arm.h
index ad3e701d276..b04c5ecc1d9 100644
--- a/src/m/arm.h
+++ b/src/m/arm.h
@@ -36,5 +36,11 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#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) */