summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-04-06 08:55:56 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2017-04-06 09:30:03 +0100
commit6ff98b962db15d18eb1d082fe344cef692ecef8e (patch)
tree57e3f67f302d06d8e6a2571882c38ad2b5eb99e2 /mk
parent844704b4883e1d603a5048ddc6cbad737ba8d9e8 (diff)
downloadhaskell-6ff98b962db15d18eb1d082fe344cef692ecef8e.tar.gz
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@gentoo.org>
Diffstat (limited to 'mk')
-rw-r--r--mk/config.mk.in4
1 files changed, 0 insertions, 4 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in
index 4e61eea821..4d5d82aa80 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@