From 6b4ed0faae380ffe01bbd98e5d49bd422e34ecbb Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 12 Jan 2009 19:29:43 +0100 Subject: [PATCH] configure: Don't force a 32-bit build when cross-compiling. --- configure | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index d42d651603e..48603ae4a30 100755 --- a/configure +++ b/configure @@ -3804,7 +3804,7 @@ fi case $host in x86_64*) - if test "x$enable_win64" != "xyes" + if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" then CC="$CC -m32" CXX="$CXX -m32" diff --git a/configure.ac b/configure.ac index d5d8f8ecd90..1a84d6918af 100644 --- a/configure.ac +++ b/configure.ac @@ -101,7 +101,7 @@ AC_CHECK_TOOL(CPPBIN,cpp,cpp) case $host in x86_64*) - if test "x$enable_win64" != "xyes" + if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" then CC="$CC -m32" CXX="$CXX -m32"