diff options
-rw-r--r-- | mk/config.mk.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in index 4d5d82aa80..5e274bb71f 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -530,7 +530,7 @@ SUPPORTS_THIS_UNIT_ID = @SUPPORTS_THIS_UNIT_ID@ # needs to know which gcc you're using in order to perform its tests. GccVersion = @GccVersion@ -CrossCompilePrefix = @CrossCompilePrefix@ + # TargetPlatformFull retains the string passed to configure so we have it in # the necessary format to pass to libffi's configure. TargetPlatformFull = @TargetPlatformFull@ @@ -567,6 +567,11 @@ CrossCompiling = @CrossCompiling@ # See Note [Stage1Only vs stage=1] Stage1Only = NO +# Installed tools prefix: +# we add prefix to crosscompiler GHC only (ghc-stage1), +# not cross-built GHC (not ghc-stage2). +CrossCompilePrefix = $(if $(filter YES,$(Stage1Only)),@CrossCompilePrefix@,) + # Install stage 2 by default, or stage 1 in the cross compiler # case. Can be changed to 3 INSTALL_GHC_STAGE= $(if $(filter YES,$(Stage1Only)),1,2) |