From: Richard Purdie Date: Sat, 21 May 2016 10:53:08 +0000 (+0100) Subject: glibc-locale: Enable binary locale generation for nativesdk-glibc X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~25718 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6993d18062bcc20713dd39399bd7cb3623853c75;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git glibc-locale: Enable binary locale generation for nativesdk-glibc python3 has much stricter locale requirements than previous versions. If a locale isn't present, python3 reverts to ascii mode under which bit bake can't operate. We therefore need working binary locales in things like uninative-tarball and buildtools-tarball. This patch enables binary locales for nativesdk-glibc. Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/glibc/glibc-locale.inc b/meta/recipes-core/glibc/glibc-locale.inc index e868e38a979..0a7adfcc83c 100644 --- a/meta/recipes-core/glibc/glibc-locale.inc +++ b/meta/recipes-core/glibc/glibc-locale.inc @@ -19,7 +19,7 @@ do_package[depends] += "${BINUTILSDEP}" # default to disabled ENABLE_BINARY_LOCALE_GENERATION ?= "0" -ENABLE_BINARY_LOCALE_GENERATION_pn-nativesdk-glibc-locale = "0" +ENABLE_BINARY_LOCALE_GENERATION_pn-nativesdk-glibc-locale = "1" #enable locale generation on these arches # BINARY_LOCALE_ARCHES is a space separated list of regular expressions