summaryrefslogtreecommitdiff
path: root/ghc/ghc.mk
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/ghc.mk')
-rw-r--r--ghc/ghc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/ghc.mk b/ghc/ghc.mk
index 809756e334..6df1a50746 100644
--- a/ghc/ghc.mk
+++ b/ghc/ghc.mk
@@ -99,7 +99,7 @@ ifneq "$(filter-out 2,$(stage))" ""
ghc_stage2_NOT_NEEDED = YES
endif
# When cross-compiling, the stage 1 compiler is our release compiler, so omit stage 2
-ifeq "$(BuildingCrossCompiler)" "YES"
+ifeq "$(Stage1Only)" "YES"
ghc_stage2_NOT_NEEDED = YES
endif
# stage 3 has to be requested explicitly with stage=3