Skip to contentSkip to conversation

gmp: work around ARM thumb build breakage

PATCH New Gustavo Zacarias 2 participants 2 messages Oct 5, 2011 – Nov 8, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gmp: work around ARM thumb build breakage

---
 package/gmp/gmp.mk |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
package/gmp/gmp.mk +5 -0
index 5eb6ecc..2222465 100644
@@ -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))
Signature · 1 line
1.7.3.4
#1 lore raw

PATCH 1/1 gmp: work around ARM thumb build breakage

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

Gustavo> Signed-off-by: Gustavo Zacarias <[email protected]>

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard