Commit 9a4983da authored by shlevy's avatar shlevy Committed by Ben Gamari

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
parent 18eb57be
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment