Commit 1480080b authored by Ben Gamari's avatar Ben Gamari Committed by Ben Gamari

distrib/configure: Canonicalize triples

Previously we failed to do this, which meant that the bindist's
configure would fail when passed --target (as you may need to do when
installing an armv7 bindist on an aarch64 machine, for instance).

Reviewers: hvr, erikd, austin

Reviewed By: hvr

Subscribers: rwbarton, thomie

GHC Trac Issues: #13934

Differential Revision: https://phabricator.haskell.org/D3761
parent bade356f
......@@ -13,6 +13,13 @@ dnl--------------------------------------------------------------------
FP_GMP
bootstrap_target=@TargetPlatform@
# We have to run these unconditionally as FPTOOLS_SET_PLATFORM_VARS wants the
# values it computes.
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
FPTOOLS_SET_PLATFORM_VARS
# Requires FPTOOLS_SET_PLATFORM_VARS to be run first.
......
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