kumquat-buildroot/package/gmp/gmp.mk
Thomas Petazzoni 6593ff6a87 gmp: requires host-m4
On a system where m4 is not installed, gmp does not build due to the
lack of m4. Add the missing host-m4 dependency.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-03-24 13:43:08 +01:00

23 lines
536 B
Makefile

#############################################################
#
# gmp
#
#############################################################
GMP_VERSION = 5.1.0
GMP_SITE = ftp://ftp.gmplib.org/pub/gmp-$(GMP_VERSION)
GMP_SOURCE = gmp-$(GMP_VERSION).tar.bz2
GMP_INSTALL_STAGING = YES
GMP_LICENSE = LGPLv3+
GMP_LICENSE_FILES = COPYING.LIB
GMP_DEPENDENCIES = host-m4
# Bad ARM assembly breaks on pure thumb
ifeq ($(ARCH),arm)
GMP_MAKE_OPT += CFLAGS="$(TARGET_CFLAGS) -marm"
endif
$(eval $(autotools-package))
$(eval $(host-autotools-package))