diff options
| author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2016-12-12 17:54:25 -0300 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-12-12 22:27:10 +0100 |
| commit | 93aaf48d29f315caf6ba9254559ad119ca0d5cb9 (patch) | |
| tree | 3d12c39c6c4b655a6a43fad3c74c268810de18c0 | |
| parent | 808183a5016dcf8fcacfc7ae2a88609bda4fd895 (diff) | |
| download | buildroot-93aaf48d29f315caf6ba9254559ad119ca0d5cb9.tar.gz buildroot-93aaf48d29f315caf6ba9254559ad119ca0d5cb9.zip | |
icu: fix build failure for musl
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>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| -rw-r--r-- | package/icu/icu.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/package/icu/icu.mk b/package/icu/icu.mk index 12406d7524..b9e42de94b 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 \ |

