summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/config.mk.in1
-rw-r--r--mk/custom-settings.mk2
2 files changed, 1 insertions, 2 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in
index 519e2856a4..0b51a15a02 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -546,7 +546,6 @@ GHC_PACKAGE_DB_FLAG = @GHC_PACKAGE_DB_FLAG@
WhatGccIsCalled = @WhatGccIsCalled@
GccVersion = @GccVersion@
-GlobalCrossCompilePrefix = @CrossCompilePrefix@
ifeq "$(phase)" "0"
CrossCompilePrefix =
else
diff --git a/mk/custom-settings.mk b/mk/custom-settings.mk
index e5e564ca00..f59a208388 100644
--- a/mk/custom-settings.mk
+++ b/mk/custom-settings.mk
@@ -5,7 +5,7 @@ ifeq "$(Validating)" "YES"
include mk/validate-settings.mk
-include mk/validate.mk
else
--include $(firstword $(wildcard mk/$(GlobalCrossCompilePrefix)build.mk) mk/build.mk)
+-include $(firstword $(wildcard mk/$(TargetPlatformFull)-build.mk) mk/build.mk)
endif
ifeq "$(BINDIST)" "YES"