[2/3] configure: explicitly set host_cpu for 'amd64' (resend)

David Naylor dbn at freebsd.org
Sun Mar 22 13:21:04 CDT 2015


In the case of host starting with 'amd64', the host_cpu variable will not be
set to the correct CPU value of 'x86_64'.  Set it explicitly to the correct
value.
---
 configure    | 1 +
 configure.ac | 1 +
 2 files changed, 2 insertions(+)

diff --git a/configure b/configure
index af78958..4596844 100755
--- a/configure
+++ b/configure
@@ -4924,6 +4924,7 @@ $as_echo "no" >&6; }
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       fi
+      host_cpu="x86_64"
       TARGETFLAGS="-m64"
 
     fi
diff --git a/configure.ac b/configure.ac
index d04780c..1fc7873 100644
--- a/configure.ac
+++ b/configure.ac
@@ -165,6 +165,7 @@ case $host in
                           [AC_MSG_RESULT([no])
                            AC_MSG_ERROR([You need gcc >= 4.4 to build Wine as 64-bit.])])
       fi
+      host_cpu="x86_64"
       AC_SUBST(TARGETFLAGS,"-m64")
     fi
     ;;
-- 
2.3.2




More information about the wine-patches mailing list