diff options
author | Alexey Neyman <stilor@att.net> | 2017-02-27 22:05:31 -0800 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-02-28 20:35:14 -0800 |
commit | e7163a46c47a7cf24e77d72603d5ca74ae3354d9 (patch) | |
tree | 9af7f4befddd7e4b9cf6041c733aaade6129bd75 | |
parent | 7992f9b05f68f7b801676285333de7605627aa5c (diff) | |
download | crosstool-ng-e7163a46c47a7cf24e77d72603d5ca74ae3354d9.tar.gz crosstool-ng-e7163a46c47a7cf24e77d72603d5ca74ae3354d9.tar.bz2 crosstool-ng-e7163a46c47a7cf24e77d72603d5ca74ae3354d9.zip |
Skip locale build on Cygwin
Signed-off-by: Alexey Neyman <stilor@att.net>
-rw-r--r-- | scripts/build/libc/glibc.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/build/libc/glibc.sh b/scripts/build/libc/glibc.sh index 348c35ad..c12a5530 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" |