[commit: ghc] master: Pass autoconf triplets to sub-project configures (9a4983d)
git at git.haskell.org
git at git.haskell.org
Thu Nov 17 16:04:27 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/9a4983dab9893f616db1c9be551ff9112084f887/ghc
>---------------------------------------------------------------
commit 9a4983dab9893f616db1c9be551ff9112084f887
Author: Shea Levy <shea at shealevy.com>
Date: Wed Nov 16 18:15:52 2016 -0500
Pass autoconf triplets to sub-project configures
Reviewers: austin, hvr, bgamari
Reviewed By: bgamari
Subscribers: thomie, erikd
Differential Revision: https://phabricator.haskell.org/D2713
GHC Trac Issues: #12840
>---------------------------------------------------------------
9a4983dab9893f616db1c9be551ff9112084f887
configure.ac | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 678fa2e..7a7e75b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -437,7 +437,11 @@ then
else
CrossCompilePrefix=""
fi
-TargetPlatformFull="${TargetPlatform}"
+# Despite its similarity in name to TargetPlatform, TargetPlatformFull is used
+# in calls to subproject configure scripts and thus must be set to the autoconf
+# triple, not the normalized GHC triple that TargetPlatform is set to.
+# It may be better to just do away with the GHC triples all together.
+TargetPlatformFull="${target}"
AC_SUBST(CrossCompiling)
AC_SUBST(CrossCompilePrefix)
AC_SUBST(TargetPlatformFull)
More information about the ghc-commits
mailing list