fix building of iconvdata in funky locales
Mike Frysinger
vapier@gentoo.org
Tue Dec 30 01:49:00 GMT 2008
some locales (like tr_TR.UTF-8) do not map upper/lower the same way as the C
locale. this breaks iconv-rules generation as it uses upper/lower funcs in an
awk script.
2008-12-29 Mike Frysinger <vapier@gentoo.org>
* iconvdata/Makefile (iconv-rules): Use LC_ALL=C when running awk script.
--- a/iconvdata/Makefile
+++ b/iconvdata/Makefile
@@ -286,7 +286,7 @@ $(objpfx)iconv-rules: Makefile
{ echo $(filter-out lib%, $(modules)); \
echo 8bit $(gen-8bit-modules); \
echo 8bit-gap $(gen-8bit-gap-modules); } | \
- $(AWK) 'NR == 1 { \
+ LC_ALL=C $(AWK) 'NR == 1 { \
for (i = 1; i <= NF; i++) { \
printf "%s-routines := %s\n", $$i, tolower($$i); \
printf "%s-map := gconv.map\n", $$i; \
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20081230/83917fd4/attachment.sig>
More information about the Libc-alpha
mailing list