summaryrefslogtreecommitdiff
path: root/extra/locale
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2017-08-20 12:52:36 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2017-08-20 12:52:36 +0200
commitd9f7022736fd429c6c62c93441804dc87900ed6f (patch)
tree94315785e3bb91e2b8227d7ae45b3b0fbef70f17 /extra/locale
parent22e504ceb03bb05e38f395afb039f0e0d6628936 (diff)
locale: use a better fallback
Ensure to always allow a build and fallback to C.UTF-8 and even C. Signed-off-by: Eugene Yudin <e.yudin@ndmsystems.com>
Diffstat (limited to 'extra/locale')
-rw-r--r--extra/locale/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/locale/Makefile.in b/extra/locale/Makefile.in
index c23461a11..cbf0ca580 100644
--- a/extra/locale/Makefile.in
+++ b/extra/locale/Makefile.in
@@ -166,9 +166,9 @@ $(locale_OUT)/c8tables.h: $(locale_OUT)/gen_wc8bit $(locale_OUT)/codesets.txt
# Warning! Beware tr_TR toupper/tolower exceptions!
$(locale_OUT)/wctables.h: $(locale_OUT)/gen_wctype
@$(disp_gen)
- $(Q)for locale in $(call qstrip,$(UCLIBC_BUILD_MINIMAL_LOCALES)) en_US en_GB; do \
- $< $(FLAG-locale-verbose) $$locale > $@ || \
+ $(Q)for locale in $(call qstrip,$(UCLIBC_BUILD_MINIMAL_LOCALES)) C; do \
$< $(FLAG-locale-verbose) $$locale.UTF-8 > $@ || \
+ $< $(FLAG-locale-verbose) $$locale > $@ || \
$< $(FLAG-locale-verbose) $$locale.iso8859-1 > $@ && break; \
done