tcpreplay: Bump version to v4.2.0
[buildroot-gz.git] / package / mpdecimal / mpdecimal.mk
blob9b13def523c0db4d375413bfb785de77f60a66a4
1 ################################################################################
3 # mpdecimal
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,
18 # PowerPC, etc.
19 ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),)
20 ifeq ($(BR2_i386),y)
21 MPDECIMAL_CONF_ENV += MACHINE=ansi32
22 endif
23 endif
25 $(eval $(autotools-package))