summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-03-01 05:52:06 (GMT)
committerGitHub <noreply@github.com>2017-03-01 05:52:06 (GMT)
commit864d1358e05d6f175a85c4ad7c4a2b0360efdbe2 (patch)
treef5fce365ad325c8dc533193c6720390629a847d6 /scripts
parent98ebad15a0c131ce6fb8e8019418bcc35e018ffe (diff)
parent2c2cbd9b9ab7509ca1a98c654d503fc4534c4d8a (diff)
Merge pull request #625 from stilor/skip-localedef
Skip localedef
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build/libc/glibc.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/build/libc/glibc.sh b/scripts/build/libc/glibc.sh
index 348c35a..c12a553 100644
--- a/scripts/build/libc/glibc.sh
+++ b/scripts/build/libc/glibc.sh
@@ -526,6 +526,15 @@ do_libc_locales() {
local -a extra_config
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"
cd "${CT_BUILD_DIR}/build-localedef"