config.mk.in: remove phase=0 hack for CrossCompilePrefix
authorSergei Trofimovich <slyfox@gentoo.org>
Thu, 6 Apr 2017 07:55:56 +0000 (08:55 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Thu, 6 Apr 2017 08:30:03 +0000 (09:30 +0100)
$(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@gentoo.org>
mk/config.mk.in

index 4e61eea..4d5d82a 100644 (file)
@@ -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@