summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-03-28 10:48:04 -0400
committerMatt A. Tobin <email@mattatobin.com>2020-03-28 10:48:04 -0400
commit9a31bea935396ac022c649c070b68c062cf2e863 (patch)
treebc89a4a1aabb949d717cc32162124b26bddc8a25
parente9723a6fdbf15f7d61b5a32b0931507ee2cb772e (diff)
downloaduxp-9a31bea935396ac022c649c070b68c062cf2e863.tar.gz
Teach config.guess to know if we want to build 32 or 64 bit builds on Windows
-rwxr-xr-xbuild/autoconf/config.guess7
1 files changed, 7 insertions, 0 deletions
diff --git a/build/autoconf/config.guess b/build/autoconf/config.guess
index d5d667d4a2..28d5092011 100755
--- a/build/autoconf/config.guess
+++ b/build/autoconf/config.guess
@@ -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 ;;