aboutsummaryrefslogtreecommitdiffstats
path: root/package/gmp/gmp.mk
blob: 24fbb3db61a84be51820a253c3336341ffdff119 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#############################################################
#
# 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))