Skip building locales on macos, too

--enable-hacker-mode is not sufficient, in 2.25 configure then
fails while checking for sysdeps fragments that apply to a given
configuration, and with that worked around, fails on binutils &
compiler version check.

In brief: if someone wants locales on cygwin/macos, you'd have to
implement cross-localedef (similar to cross-rpcgen) in glibc and
submit it upstream.

Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
Alexey Neyman 2017-03-06 23:12:16 -08:00
parent 272c010874
commit 3e94b4f680

View File

@ -529,7 +529,7 @@ do_libc_locales() {
# To build locales, we'd need to build glibc for the build machine.
# Bail out if the host is not supported.
case "${CT_BUILD}" in
*-cygwin)
*-cygwin|*-darwin*)
CT_DoLog EXTRA "Skipping GNU libc locales: incompatible build machine"
return
;;