kumquat-buildroot/package/gmp/gmp.mk
Gustavo Zacarias d7139cd936 gmp: work around ARM thumb build breakage
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-11-08 23:46:51 +01:00

19 lines
430 B
Makefile

#############################################################
#
# gmp
#
#############################################################
GMP_VERSION = 5.0.2
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))