From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] boost: correctly disable icu in locale if needed
Date: Sat, 14 Jul 2018 22:41:00 +0200 [thread overview]
Message-ID: <20180714224100.2bc87253@windsurf> (raw)
In-Reply-To: <20180713174247.4005-1-fontaine.fabrice@gmail.com>
Hello Fabrice,
On Fri, 13 Jul 2018 19:42:47 +0200, Fabrice Fontaine wrote:
> boost doesn't take into account --without-icu flag and links
> libboost_locale with icu if it founds it in staging directory
>
> So use boost.locale.icu to fix this issue
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/boost/boost.mk | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/package/boost/boost.mk b/package/boost/boost.mk
> index b2605a70b7..242b60a460 100644
> --- a/package/boost/boost.mk
> +++ b/package/boost/boost.mk
> @@ -116,6 +116,12 @@ ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
> BOOST_OPTS += boost.locale.posix=off
> endif
>
> +ifeq ($(BR2_PACKAGE_ICU),y)
> +BOOST_OPTS += boost.locale.icu=on
> +else
> +BOOST_OPTS += boost.locale.icu=off
> +endif
I'm not sure to fully understand what's going on here.
First, if --without-icu has no effect, why isn't your patch removing
it ?
Second, why are you introducing another BR2_PACKAGE_ICU conditional,
even if there's already one ?
Third, what is the problem with libboost_locale linking with icu if
found in the staging directory ?
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2018-07-14 20:41 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-13 17:42 [Buildroot] [PATCH 1/1] boost: correctly disable icu in locale if needed Fabrice Fontaine
2018-07-14 20:41 ` Thomas Petazzoni [this message]
2018-07-14 21:04 ` Fabrice Fontaine
2018-07-14 21:21 ` Thomas Petazzoni
2019-04-07 20:25 ` Thomas Petazzoni
2019-04-07 20:39 ` Fabrice Fontaine
2019-04-07 20:45 ` Max Filippov
2019-04-07 21:09 ` Max Filippov
2019-04-08 7:21 ` Thomas Petazzoni
2019-04-08 15:53 ` Max Filippov
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=20180714224100.2bc87253@windsurf \
--to=thomas.petazzoni@bootlin.com \
--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