summaryrefslogtreecommitdiff
path: root/scripts/build/libc
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-08-16 17:47:52 (GMT)
committerAlexey Neyman <stilor@att.net>2017-08-16 17:47:52 (GMT)
commit3d470580cedeffb86d33832ffffc7ad010978b4f (patch)
tree0279e902a3d39c283a662fdeaeb823f4cd0b042c /scripts/build/libc
parente6bc8dfe865668f16ea2c9b0991f1e7517f34250 (diff)
Fix version check in mingw-w64
Fixes #782. Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/build/libc')
-rw-r--r--scripts/build/libc/mingw-w64.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/libc/mingw-w64.sh b/scripts/build/libc/mingw-w64.sh
index 295b313..21afb29 100644
--- a/scripts/build/libc/mingw-w64.sh
+++ b/scripts/build/libc/mingw-w64.sh
@@ -63,10 +63,10 @@ do_libc_start_files() {
do_check_mingw_vendor_tuple()
{
- if [ "${CT_MINGW_W64_VERSION%%.*}" -ge 4 ]; then
+ if [ "${CT_MINGW_W64_REQUIRES_W64_VENDOR}" = "y" ]; then
CT_DoStep INFO "Checking configured vendor tuple"
- if [ ${CT_TARGET_VENDOR} == w64 ]; then
- CT_DoLog EXTRA "The tuple is set to '${CT_TARGET_VENDOR}', as recommended by mingw-64 developers."
+ if [ ${CT_TARGET_VENDOR} = "w64" ]; then
+ CT_DoLog DEBUG "The tuple is set to '${CT_TARGET_VENDOR}', as recommended by mingw-64 developers."
else
CT_DoLog WARN "The tuple vendor is '${CT_TARGET_VENDOR}', not equal to 'w64' and might break the toolchain!"
fi