Blame SOURCES/0003-configure-Remove-incorrect-assumption-about-cross-co.patch

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