Permalink
Browse files

boehmgc: Pass -marm to make boehmgc build on thumb2 ARM systems.

Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
  • Loading branch information...
1 parent 7999e88 commit 03299429a3bd2b9791d21055857627138adca504 @xranby xranby committed Feb 2, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 boehmgc/Makefile
View
@@ -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

0 comments on commit 0329942

Please sign in to comment.