hadrian: configureArgs uses --host=TARGET rather than HOST
In configureArgs
in hadrian/src/Settings/Builders/Cabal.hs
, we're setting the --host=
arg that we pass to other configure scripts to TargetPlatformFull
. This strikes me as weird, since the host platform is not necessarily the target platform (if we're cross compiling).
This might be correct, but I'm opening this ticket in case it is not since me and @bgamari didn't understand why it was so.
NB: During development in !9263 (merged) we came across multiple tasks and bugs regarding the configuration script. In preparation of merging it, we're opening tickets for the leftover tasks both regarding the new ghc-toolchain
and the toolchain logic in configure
. This is one of those tickets.