aboutsummaryrefslogtreecommitdiff
path: root/package/mpdecimal/mpdecimal.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/mpdecimal/mpdecimal.mk')
-rw-r--r--package/mpdecimal/mpdecimal.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/package/mpdecimal/mpdecimal.mk b/package/mpdecimal/mpdecimal.mk
index 2d06d0f6b4..fa310a2274 100644
--- a/package/mpdecimal/mpdecimal.mk
+++ b/package/mpdecimal/mpdecimal.mk
@@ -5,7 +5,7 @@
################################################################################
MPDECIMAL_SITE = http://www.bytereef.org/software/mpdecimal/releases
-MPDECIMAL_VERSION = 2.4.2
+MPDECIMAL_VERSION = 2.5.0
MPDECIMAL_INSTALL_STAGING = YES
MPDECIMAL_LICENSE = BSD-2-Clause
MPDECIMAL_LICENSE_FILES = LICENSE.txt
@@ -22,4 +22,10 @@ MPDECIMAL_CONF_ENV += MACHINE=ansi32
endif
endif
+ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
+MPDECIMAL_CONF_OPTS += --enable-cxx
+else
+MPDECIMAL_CONF_OPTS += --disable-cxx
+endif
+
$(eval $(autotools-package))