[commit: ghc] master: config.mk.in: remove phase=0 hack for CrossCompilePrefix (6ff98b9)

git at git.haskell.org git at git.haskell.org
Thu Apr 6 09:11:03 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/6ff98b962db15d18eb1d082fe344cef692ecef8e/ghc

>---------------------------------------------------------------

commit 6ff98b962db15d18eb1d082fe344cef692ecef8e
Author: Sergei Trofimovich <slyfox at gentoo.org>
Date:   Thu Apr 6 08:55:56 2017 +0100

    config.mk.in: remove phase=0 hack for CrossCompilePrefix
    
    $(CrossCompilePrefix) is used only in 'make install'
    target filenames in $(DESTDIR). None of inplace (or boot)
    files contain $(CrossCompilePrefix).
    
    Thus we don't need to worry about phases.
    
    Signed-off-by: Sergei Trofimovich <slyfox at gentoo.org>


>---------------------------------------------------------------

6ff98b962db15d18eb1d082fe344cef692ecef8e
 mk/config.mk.in | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/mk/config.mk.in b/mk/config.mk.in
index 4e61eea..4d5d82a 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -530,11 +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@
-ifeq "$(phase)" "0"
-CrossCompilePrefix    =
-else
 CrossCompilePrefix    = @CrossCompilePrefix@
-endif
 # TargetPlatformFull retains the string passed to configure so we have it in
 # the necessary format to pass to libffi's configure.
 TargetPlatformFull    = @TargetPlatformFull@



More information about the ghc-commits mailing list