From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] package/mpdecimal: add optional C++ dependency
Date: Sat, 17 Oct 2020 14:32:25 +0200 [thread overview]
Message-ID: <20201017123225.GL3466@scaer> (raw)
In-Reply-To: <20201016201916.2082927-1-fontaine.fabrice@gmail.com>
Fabrice, All,
On 2020-10-16 22:19 +0200, Fabrice Fontaine spake thusly:
> 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>
Applied to master, thanks.
I however melt the two patches into one: indeed, if one enables C++ and
static, then this first patch alone is not enough. The C++ + static fix
belongs to this patch.
Regards,
Yann E. MORIN.
> ---
> 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
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
prev parent reply other threads:[~2020-10-17 12:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Yann E. MORIN [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201017123225.GL3466@scaer \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox