aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXerxes Rånby <xerxes@zafena.se>2012-02-02 13:18:45 +0100
committerXerxes Rånby <xerxes@zafena.se>2012-02-02 13:18:45 +0100
commit03299429a3bd2b9791d21055857627138adca504 (patch)
tree0101be649aa8aae4a4f5d31003f241033f8b7fb9
parent7999e88aa344043b598d8f9176d229e5eaadc2e0 (diff)
downloadjato-03299429a3bd2b9791d21055857627138adca504.tar.gz
boehmgc: Pass -marm to make boehmgc build on thumb2 ARM systems.
Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
-rw-r--r--boehmgc/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/boehmgc/Makefile b/boehmgc/Makefile
index ce32a89f..59c77481 100644
--- a/boehmgc/Makefile
+++ b/boehmgc/Makefile
@@ -27,6 +27,13 @@ ifeq ($(uname_S),Darwin)
endif
endif
+#
+# Use -marm for arm*
+#
+ifneq ($(findstring arm,$(uname_M)),)
+ DEFAULT_CFLAGS += -marm
+endif
+
BOEHMGC_OBJS += allchblk.o
BOEHMGC_OBJS += alloc.o
BOEHMGC_OBJS += blacklst.o