All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] icu: fix build failure for musl
@ 2016-12-12 20:54 Gustavo Zacarias
  2016-12-12 21:27 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Gustavo Zacarias @ 2016-12-12 20:54 UTC (permalink / raw)
  To: buildroot

musl doesn't have xlocale.h, and stdtod_l is crippled, so disable it.
See thread from OE:
http://lists.openembedded.org/pipermail/openembedded-core/2016-November/128527.html
Fixes:
http://autobuild.buildroot.net/results/6ca/6caebf0f6c4adf66e67bedd0f04155413a9aa7bd/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/icu/icu.mk | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/icu/icu.mk b/package/icu/icu.mk
index 12406d7..b9e42de 100644
--- a/package/icu/icu.mk
+++ b/package/icu/icu.mk
@@ -25,6 +25,11 @@ ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
 ICU_CONF_ENV += LIBS="-latomic"
 endif
 
+# strtod_l() is not supported by musl; also xlocale.h is missing
+ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y)
+ICU_CONF_ENV += ac_cv_func_strtod_l=no
+endif
+
 HOST_ICU_CONF_OPTS = \
 	--disable-samples \
 	--disable-tests \
-- 
2.10.2

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

* [Buildroot] [PATCH] icu: fix build failure for musl
  2016-12-12 20:54 [Buildroot] [PATCH] icu: fix build failure for musl Gustavo Zacarias
@ 2016-12-12 21:27 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-12-12 21:27 UTC (permalink / raw)
  To: buildroot

Hello,

On Mon, 12 Dec 2016 17:54:25 -0300, Gustavo Zacarias wrote:
> musl doesn't have xlocale.h, and stdtod_l is crippled, so disable it.
> See thread from OE:
> http://lists.openembedded.org/pipermail/openembedded-core/2016-November/128527.html
> Fixes:
> http://autobuild.buildroot.net/results/6ca/6caebf0f6c4adf66e67bedd0f04155413a9aa7bd/
> 
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
> ---
>  package/icu/icu.mk | 5 +++++
>  1 file changed, 5 insertions(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

end of thread, other threads:[~2016-12-12 21:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-12 20:54 [Buildroot] [PATCH] icu: fix build failure for musl Gustavo Zacarias
2016-12-12 21:27 ` Thomas Petazzoni

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.