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