mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-03 03:26:39 +00:00
commit
864d1358e0
@ -142,6 +142,9 @@ comment "| machine and the target: "
|
|||||||
comment "| - have the same endianness, "
|
comment "| - have the same endianness, "
|
||||||
comment "| - and have the same alignment requirements for uint32_t. "
|
comment "| - and have the same alignment requirements for uint32_t. "
|
||||||
comment "| You will have to check by yourself (for now). "
|
comment "| You will have to check by yourself (for now). "
|
||||||
|
comment "WARNING! "
|
||||||
|
comment "| Building GLIBC locales requires that GLIBC supports "
|
||||||
|
comment "| the build machine as the target. "
|
||||||
endif # LIBC_glibc && LIBC_LOCALES
|
endif # LIBC_glibc && LIBC_LOCALES
|
||||||
|
|
||||||
if KERNEL_linux
|
if KERNEL_linux
|
||||||
|
@ -526,6 +526,15 @@ do_libc_locales() {
|
|||||||
local -a extra_config
|
local -a extra_config
|
||||||
local glibc_cflags
|
local glibc_cflags
|
||||||
|
|
||||||
|
# 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)
|
||||||
|
CT_DoLog EXTRA "Skipping GNU libc locales: incompatible build machine"
|
||||||
|
return
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
mkdir -p "${CT_BUILD_DIR}/build-localedef"
|
mkdir -p "${CT_BUILD_DIR}/build-localedef"
|
||||||
cd "${CT_BUILD_DIR}/build-localedef"
|
cd "${CT_BUILD_DIR}/build-localedef"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user