1 ################################################################################
5 ################################################################################
7 # Official site currently down
8 # MPDECIMAL_SITE = http://www.bytereef.org/software/mpdecimal/releases
10 MPDECIMAL_SITE = https://launchpad.net/ubuntu/+archive/primary/+files
11 MPDECIMAL_VERSION = 2.4.1
12 MPDECIMAL_SOURCE = mpdecimal_$(MPDECIMAL_VERSION).orig.tar.gz
13 MPDECIMAL_INSTALL_STAGING = YES
14 MPDECIMAL_LICENSE = BSD-2c
15 MPDECIMAL_LICENSE_FILES = LICENSE.txt
16 MPDECIMAL_CONF_OPTS = LD="$(TARGET_CC)"
17 MPDECIMAL_AUTORECONF = YES
19 # On i386, by default, mpdecimal tries to uses <fenv.h> which is not
20 # available in musl/glibc. So in this case, we tell mpdecimal to use
21 # the generic 32 bits code, which is anyway the one used on ARM,
23 ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),)
25 MPDECIMAL_CONF_ENV += MACHINE=ansi32
29 $(eval $(autotools-package))