7759643f78
Bumping mpdecimal to 2.4.1 is necessary to make the Python 3 'decimal' module to build properly, since Python 3.4.2. Thanks to Samuel Martin for the investigation! Fixes: http://autobuild.buildroot.org/results/c9b/c9b6dd19f16a56a16ef441d5b303badab9720bd7/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
30 lines
961 B
Makefile
30 lines
961 B
Makefile
################################################################################
|
|
#
|
|
# mpdecimal
|
|
#
|
|
################################################################################
|
|
|
|
# Official site currently down
|
|
# MPDECIMAL_SITE = http://www.bytereef.org/software/mpdecimal/releases
|
|
|
|
MPDECIMAL_SITE = https://launchpad.net/ubuntu/+archive/primary/+files/
|
|
MPDECIMAL_VERSION = 2.4.1
|
|
MPDECIMAL_SOURCE = mpdecimal_$(MPDECIMAL_VERSION).orig.tar.gz
|
|
MPDECIMAL_INSTALL_STAGING = YES
|
|
MPDECIMAL_LICENSE = BSD-2c
|
|
MPDECIMAL_LICENSE_FILES = LICENSE.txt
|
|
MPDECIMAL_CONF_OPTS = LD="$(TARGET_CC)"
|
|
MPDECIMAL_AUTORECONF = YES
|
|
|
|
# On i386, by default, mpdecimal tries to uses <fenv.h> which is not
|
|
# available in musl/glibc. So in this case, we tell mpdecimal to use
|
|
# the generic 32 bits code, which is anyway the one used on ARM,
|
|
# PowerPC, etc.
|
|
ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),)
|
|
ifeq ($(BR2_i386),y)
|
|
MPDECIMAL_CONF_ENV += MACHINE=ansi32
|
|
endif
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|