From 2adeefe38897ec138f623a68e36e249de40c0943 Mon Sep 17 00:00:00 2001
From: Ge van Geldorp <ge@gse.nl>
Date: Fri, 30 Jun 2006 21:37:34 +0200
Subject: [PATCH] configure: Allow relocation on x86_64.

---
 configure    | 2 +-
 configure.ac | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 7b53f6b8df1..ece71b4d60b 100755
--- a/configure
+++ b/configure
@@ -16915,7 +16915,7 @@ echo "${ECHO_T}$ac_cv_ld_rpath" >&6; }
         fi
 
         case $host_cpu in
-          *i[3456789]86*)
+          *i[3456789]86* | x86_64)
             { echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x7bf00000" >&5
 echo $ECHO_N "checking whether we can relocate the executable to 0x7bf00000... $ECHO_C" >&6; }
 if test "${ac_cv_ld_reloc_exec+set}" = set; then
diff --git a/configure.ac b/configure.ac
index be376f22efd..3c55d8ce33d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1121,7 +1121,7 @@ case $host_os in
         fi
 
         case $host_cpu in
-          *i[[3456789]]86*)
+          *i[[3456789]]86* | x86_64)
             AC_CACHE_CHECK([whether we can relocate the executable to 0x7bf00000], ac_cv_ld_reloc_exec,
               [WINE_TRY_CFLAGS([-Wl,--section-start,.interp=0x7bf00400],
                                ac_cv_ld_reloc_exec="yes", ac_cv_ld_reloc_exec="no")])
-- 
GitLab