All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/mpdecimal: add optional C++ dependency
@ 2020-10-16 20:19 Fabrice Fontaine
  2020-10-16 20:19 ` [Buildroot] [PATCH 2/2] package/mpdecimal: fix static build Fabrice Fontaine
  2020-10-17 12:32 ` [Buildroot] [PATCH 1/2] package/mpdecimal: add optional C++ dependency Yann E. MORIN
  0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2020-10-16 20:19 UTC (permalink / raw)
  To: buildroot

Version 2.5.0 enables the new libmpdec++ library by default:
http://www.bytereef.org/mpdecimal/changelog.html#version-2-5-0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/mpdecimal/mpdecimal.mk | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/mpdecimal/mpdecimal.mk b/package/mpdecimal/mpdecimal.mk
index 00aa98e693..fa310a2274 100644
--- a/package/mpdecimal/mpdecimal.mk
+++ b/package/mpdecimal/mpdecimal.mk
@@ -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))
-- 
2.28.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-10-17 12:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-16 20:19 [Buildroot] [PATCH 1/2] package/mpdecimal: add optional C++ dependency Fabrice Fontaine
2020-10-16 20:19 ` [Buildroot] [PATCH 2/2] package/mpdecimal: fix static build Fabrice Fontaine
2020-10-17 12:32 ` [Buildroot] [PATCH 1/2] package/mpdecimal: add optional C++ dependency Yann E. MORIN

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.