2014-07-23 20:33:18 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# mpdecimal
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2015-10-04 16:36:25 +02:00
|
|
|
MPDECIMAL_SITE = http://www.bytereef.org/software/mpdecimal/releases
|
2015-01-03 21:50:29 +01:00
|
|
|
MPDECIMAL_VERSION = 2.4.1
|
2014-07-23 20:33:18 +02:00
|
|
|
MPDECIMAL_INSTALL_STAGING = YES
|
2017-03-30 15:43:39 +02:00
|
|
|
MPDECIMAL_LICENSE = BSD-2-Clause
|
2014-07-23 20:33:18 +02:00
|
|
|
MPDECIMAL_LICENSE_FILES = LICENSE.txt
|
2014-09-27 21:32:44 +02:00
|
|
|
MPDECIMAL_CONF_OPTS = LD="$(TARGET_CC)"
|
2014-11-23 18:36:00 +01:00
|
|
|
MPDECIMAL_AUTORECONF = YES
|
2014-07-23 20:33:18 +02:00
|
|
|
|
|
|
|
# On i386, by default, mpdecimal tries to uses <fenv.h> which is not
|
2015-10-04 16:36:26 +02:00
|
|
|
# available in musl/uclibc. So in this case, we tell mpdecimal to use
|
2014-07-23 20:33:18 +02:00
|
|
|
# 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))
|