Teach config.guess to know if we want to build 32 or 64 bit builds on Windows.

This commit is contained in:
Fedor 2020-05-07 14:44:44 +03:00
parent 985b37fae7
commit 63fe9718ba
1 changed files with 7 additions and 0 deletions

View File

@ -842,6 +842,13 @@ EOF
i*:CYGWIN*:*)
echo ${UNAME_MACHINE}-pc-cygwin
exit ;;
*:MINGW32_NT*:*)
if [ "$PLATFORM" = "X64" ]; then
echo x86_64-pc-mingw32
else
echo ${UNAME_MACHINE}-pc-mingw32
fi
exit ;;
*:MINGW64*:*)
echo ${UNAME_MACHINE}-pc-mingw64
exit ;;