summaryrefslogtreecommitdiffstats
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
UXP-e360caa1a2efb8f2196b8bda3d9c649b2ee6d747.tar.gz
UXP-e360caa1a2efb8f2196b8bda3d9c649b2ee6d747.tar.lz
UXP-e360caa1a2efb8f2196b8bda3d9c649b2ee6d747.tar.xz
UXP-e360caa1a2efb8f2196b8bda3d9c649b2ee6d747.zip
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 d5d667d4a..28d509201 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 ;;