We don't support 32-bit builds with the Microsoft toolchain

This commit is contained in:
Anthony Green
2017-03-19 07:33:39 -04:00
parent 073bc9d50c
commit 69963d39ab

View File

@@ -64,8 +64,8 @@ case "${host}" in
TARGET=X86_FREEBSD; TARGETDIR=x86
;;
i?86-win32* | i?86-*-cygwin* | i?86-*-mingw* | i?86-*-os2* | i?86-*-interix* \
| x86_64-*-cygwin* | x86_64-*-mingw* | x86_64-*-winnt* )
i?86-*-cygwin* | i?86-*-mingw* | i?86-*-os2* | i?86-*-interix* \
| x86_64-*-cygwin* | x86_64-*-mingw* | x86_64-*-win* )
TARGETDIR=x86
if test $ac_cv_sizeof_size_t = 4; then
TARGET=X86_WIN32
@@ -74,6 +74,12 @@ case "${host}" in
fi
if test "${ax_cv_c_compiler_vendor}" = "microsoft"; then
MSVC=1
if test $ac_cv_sizeof_size_t = 4; then
# libffi does not support microsoft tools for 32-bit windows
# hosts. Try porting src/x86/sysv.S to intel assembly
# format.
UNSUPPORTED=1
fi
fi
# All mingw/cygwin/win32 builds require -no-undefined for sharedlib.
# We must also check with_cross_host to decide if this is a native