a2dcfff
From 39df379f1aa139a073d7b436bb9bd33ef2f70caf Mon Sep 17 00:00:00 2001
1da04a1
From: "Richard W.M. Jones" <rjones@redhat.com>
1da04a1
Date: Fri, 26 Apr 2019 16:16:29 +0100
7eb82f0
Subject: [PATCH 3/7] configure: Remove incorrect assumption about
1da04a1
 cross-compiling.
1da04a1
1da04a1
See https://github.com/ocaml/ocaml/issues/8647#issuecomment-487094390
1da04a1
---
ab47d25
 configure.ac | 11 ++++++-----
ab47d25
 1 file changed, 6 insertions(+), 5 deletions(-)
1da04a1
1da04a1
diff --git a/configure.ac b/configure.ac
a2dcfff
index a35da2040..4c9358897 100644
1da04a1
--- a/configure.ac
1da04a1
+++ b/configure.ac
a2dcfff
@@ -511,10 +511,11 @@ AS_IF(
ab47d25
 
ab47d25
 # Are we building a cross-compiler
ab47d25
 
ab47d25
-AS_IF(
ab47d25
-  [test x"$host" = x"$target"],
ab47d25
-    [cross_compiler=false],
ab47d25
-    [cross_compiler=true])
ab47d25
+#AS_IF(
ab47d25
+#  [test x"$host" = x"$target"],
ab47d25
+#    [cross_compiler=false],
ab47d25
+#    [cross_compiler=true])
ab47d25
+cross_compiler=false
ab47d25
 
ab47d25
 # Checks for programs
ab47d25
 
a2dcfff
@@ -1018,7 +1019,7 @@ AS_CASE([$arch],
643d094
 
643d094
 # Assembler
1da04a1
 
fe05d6a
-AS_IF([test -n "$host_alias"], [toolpref="${host_alias}-"], [toolpref=""])
fe05d6a
+#AS_IF([test -n "$host_alias"], [toolpref="${host_alias}-"], [toolpref=""])
1da04a1
 
1da04a1
 # We first compute default values for as and aspp
1da04a1
 # If values have been given by the user then they take precedence over
1da04a1
-- 
db6ffb1
2.24.1
1da04a1