summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-03-28 10:48:04 -0400
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-04-14 13:17:20 +0200
commite360caa1a2efb8f2196b8bda3d9c649b2ee6d747 (patch)
tree4b569e8dd932b48fedf5e470378105f78004dbf8 /build
parent9eeaeff77bc1f5215b767d488db3911d870ec8bd (diff)
downloaduxp-e360caa1a2efb8f2196b8bda3d9c649b2ee6d747.tar.gz
Teach config.guess to know if we want to build 32 or 64 bit builds on Windows
Diffstat (limited to 'build')
-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 ;;