]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r339489:
authorYuri Pankov <yuripv@FreeBSD.org>
Sat, 27 Oct 2018 21:17:01 +0000 (21:17 +0000)
committerYuri Pankov <yuripv@FreeBSD.org>
Sat, 27 Oct 2018 21:17:01 +0000 (21:17 +0000)
commit0a8c491e712d0079e7d8ad72378aad82d7a9378f
treed8249e70c6bfd1d59e1d75543145645084fcecbe
parentd5958b4d6d511eeea9f316fff45172be85b64369
MFC r339489:

Add -b/-l options to localedef(1) to specify output endianness and use
it appropriately when building share/ctypedef and share/colldef.

This makes the resulting locale data in EL->EB (amd64->powerpc64) cross
build and in the native EB build match.  Revert the changes done to libc
in r308170 as they are no longer needed.

PR:             231965
Reviewed by:    bapt, emaste, sbruno, 0mp
Approved by:    re (gjb), kib (mentor)
Differential Revision:  https://reviews.freebsd.org/D17603
13 files changed:
lib/libc/locale/collate.c
lib/libc/locale/endian.h [deleted file]
lib/libc/locale/rune.c
share/colldef/Makefile
share/ctypedef/Makefile
share/mk/bsd.endian.mk
targets/pseudo/userland/Makefile.depend
tools/tools/locale/tools/cldr2def.pl
usr.bin/localedef/collate.c
usr.bin/localedef/ctype.c
usr.bin/localedef/localedef.1
usr.bin/localedef/localedef.c
usr.bin/localedef/localedef.h