summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-02-28 06:05:31 (GMT)
committerAlexey Neyman <stilor@att.net>2017-03-01 04:35:14 (GMT)
commite7163a46c47a7cf24e77d72603d5ca74ae3354d9 (patch)
tree9af7f4befddd7e4b9cf6041c733aaade6129bd75 /scripts
parent7992f9b05f68f7b801676285333de7605627aa5c (diff)
Skip locale build on Cygwin
Signed-off-by: Alexey Neyman <stilor@att.net>
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"