1 ################################################################################
5 ################################################################################
7 MPDECIMAL_SITE
= http
://www.bytereef.org
/software
/mpdecimal
/releases
8 MPDECIMAL_VERSION
= 2.4.1
9 MPDECIMAL_INSTALL_STAGING
= YES
10 MPDECIMAL_LICENSE
= BSD-2c
11 MPDECIMAL_LICENSE_FILES
= LICENSE.txt
12 MPDECIMAL_CONF_OPTS
= LD
="$(TARGET_CC)"
13 MPDECIMAL_AUTORECONF
= YES
15 # On i386, by default, mpdecimal tries to uses <fenv.h> which is not
16 # available in musl/uclibc. So in this case, we tell mpdecimal to use
17 # the generic 32 bits code, which is anyway the one used on ARM,
19 ifeq ($(BR2_TOOLCHAIN_USES_GLIBC
),)
21 MPDECIMAL_CONF_ENV
+= MACHINE
=ansi32
25 $(eval
$(autotools-package
))