diff options
author | Ben Gamari <ben@smart-cactus.org> | 2021-10-19 16:02:51 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-10-20 14:06:00 -0400 |
commit | 5f274fbfd4188dda2e7d74d374f2105db22c5610 (patch) | |
tree | df9f3dea7770f8e2185dc39d1574bdf7711405cf /distrib | |
parent | 2f75ffac1f8b255335987d25831bbc6f51406d85 (diff) | |
download | haskell-5f274fbfd4188dda2e7d74d374f2105db22c5610.tar.gz |
hadrian: Fix binary-dist support for cross-compilers
Previously the logic which called ghc-pkg failed to account for the fact
that the executable name may be prefixed with a triple. Moreover, the
call must occur before we delete the settings file as ghc-pkg needs the
latter.
Fixes #20267.
Diffstat (limited to 'distrib')
-rw-r--r-- | distrib/configure.ac.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/distrib/configure.ac.in b/distrib/configure.ac.in index 7a29369000..d3aee52220 100644 --- a/distrib/configure.ac.in +++ b/distrib/configure.ac.in @@ -50,7 +50,7 @@ FP_FIND_ROOT # ToDo: if Stage1Only=YES, should be YES CrossCompiling=NO -CrossCompilePrefix="" +CrossCompilePrefix="@CrossCompilePrefix@" TargetPlatformFull="${target}" TablesNextToCode="@TablesNextToCode@" |