diff options
author | Xiangyu Chen <xiangyu.chen@windriver.com> | 2024-02-26 17:59:21 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-29 10:26:13 +0000 |
commit | eb11e03c8175dd71b69aaf6b8fd81d2bb0df18d8 (patch) | |
tree | 5cef741e9de7199e4dee4abfd9234d01768357ce /meta/recipes-support/vte | |
parent | 930450926cad6459950a004f2aad31adea8bd97e (diff) | |
download | poky-eb11e03c8175dd71b69aaf6b8fd81d2bb0df18d8.tar.gz |
libc-locale: fix ASCII compatible warning cause build failure.
Some locales are not listed in glibc locales support list, but can be generated,
here using ja_JP.SHIFT_JIS as an example. We can add following line into local.conf
to enable and generate it:
GLIBC_GENERATE_LOCALES += "en_GB.UTF-8 en_US.UTF-8 ja_JP.UTF-8 ja_JP.SHIFT_JIS"
IMAGE_LINGUAS += "ja-jp en-us ja-jp.shift-jis"
The localedef tool would report a warning and exit with 1, that cause build failure,
error message as below:
[warning] character map `SHIFT_JIS' is not ASCII compatible, locale not ISO C compliant [--no-warnings=ascii]
So add a --no-warnings=ascii in libc-package.bbclass to fix build failure if someone needs those locale
in yocto.
(From OE-Core rev: 1048992c0d2a2bda3464185efdac5cc986a583d4)
Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/vte')
0 files changed, 0 insertions, 0 deletions