From d7139cd936e0cb793dc552ddf484aacac1b8dd45 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Wed, 5 Oct 2011 17:23:38 -0300 Subject: gmp: work around ARM thumb build breakage Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- package/gmp/gmp.mk | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'package') diff --git a/package/gmp/gmp.mk b/package/gmp/gmp.mk index 5eb6ecc6e..2222465c8 100644 --- a/package/gmp/gmp.mk +++ b/package/gmp/gmp.mk @@ -9,5 +9,10 @@ GMP_SITE = $(BR2_GNU_MIRROR)/gmp GMP_SOURCE = gmp-$(GMP_VERSION).tar.bz2 GMP_INSTALL_STAGING = YES +# Bad ARM assembly breaks on pure thumb +ifeq ($(ARCH),arm) +GMP_MAKE_OPT += CFLAGS="$(TARGET_CFLAGS) -marm" +endif + $(eval $(call AUTOTARGETS)) $(eval $(call AUTOTARGETS,host)) -- cgit v1.2.3