Patchwork [8/8] tcmode-external-csl: use the existing precompiled locale files

login
register
mail settings
Submitter Christopher Larson
Date May 1, 2012, 3:58 p.m.
Message ID <118912916f6c04b157345bbcb1c722a575769859.1335887732.git.kergoth@gmail.com>
Download mbox | patch
Permalink /patch/26749/
State New
Headers show

Comments

Christopher Larson - May 1, 2012, 3:58 p.m.
Signed-off-by: Christopher Larson <kergoth@gmail.com>
---
 meta/conf/distro/include/tcmode-external-csl.inc |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
Khem Raj - May 1, 2012, 5:28 p.m.
On Tue, May 1, 2012 at 8:58 AM, Christopher Larson <kergoth@gmail.com> wrote:
> +# No need to re-compile the locale files
> +GLIBC_INTERNAL_USE_BINARY_LOCALE = "precompiled"
> +ENABLE_BINARY_LOCALE_GENERATION = ""

should this be 0
Chris Larson - May 1, 2012, 5:52 p.m.
On Tue, May 1, 2012 at 10:28 AM, Khem Raj <raj.khem@gmail.com> wrote:
> On Tue, May 1, 2012 at 8:58 AM, Christopher Larson <kergoth@gmail.com> wrote:
>> +# No need to re-compile the locale files
>> +GLIBC_INTERNAL_USE_BINARY_LOCALE = "precompiled"
>> +ENABLE_BINARY_LOCALE_GENERATION = ""
>
> should this be 0

Either 0 or the empty string have the same effect. I suppose I could
change it to 0 for consistency, though.

Patch

diff --git a/meta/conf/distro/include/tcmode-external-csl.inc b/meta/conf/distro/include/tcmode-external-csl.inc
index 1fc366c..3b54e35 100644
--- a/meta/conf/distro/include/tcmode-external-csl.inc
+++ b/meta/conf/distro/include/tcmode-external-csl.inc
@@ -35,6 +35,10 @@  PREFERRED_PROVIDER_virtual/libiconv = "external-csl-toolchain"
 PREFERRED_PROVIDER_glibc-thread-db = "external-csl-toolchain"
 PREFERRED_PROVIDER_virtual/linux-libc-headers = "external-csl-toolchain"
 
+# No need to re-compile the locale files
+GLIBC_INTERNAL_USE_BINARY_LOCALE = "precompiled"
+ENABLE_BINARY_LOCALE_GENERATION = ""
+
 TARGET_CPPFLAGS_prepend = " -isystem${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/include "
 TARGET_LDFLAGS_prepend = " -L${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib -Wl,-rpath-link,${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib "