summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in14
1 files changed, 11 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index 186d4b576..1d1ebd10f 100644
--- a/configure.in
+++ b/configure.in
@@ -1930,9 +1930,17 @@ case $host in
if test "$abi" = 64; then
gcc_64_cflags=""
- extra_functions_64="$extra_functions_64 fat fat_entry"
- path_64="x86_64/fat x86_64"
- fat_path="x86_64 x86_64/fat x86_64/pentium4 x86_64/core2 x86_64/coreinhm x86_64/coreisbr x86_64/atom x86_64/nano"
+ case $host in
+ *-*-mingw* | *-*-cygwin)
+ path_64="" # Windows amd64 calling conventions are *different*
+ fat_path=""
+ ;;
+ *)
+ extra_functions_64="$extra_functions_64 fat fat_entry"
+ path_64="x86_64/fat x86_64"
+ fat_path="x86_64 x86_64/fat x86_64/pentium4 x86_64/core2 x86_64/coreinhm x86_64/coreisbr x86_64/atom x86_64/nano"
+ ;;
+ esac
fi
fat_functions="add_n addmul_1 copyd copyi