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, 2 insertions, 0 deletions
diff --git a/ghc/ghc.mk b/ghc/ghc.mk
index 0ad059f7ff..f8c6b09e3f 100644
--- a/ghc/ghc.mk
+++ b/ghc/ghc.mk
@@ -100,6 +100,7 @@ echo 'executablename="$$exedir/ghc"' >> "$(WRAPPER)"
endef
# if stage is set to something other than "1" or "", disable stage 1
+# See Note [Stage1Only vs stage=1] in mk/config.mk.in.
ifneq "$(filter-out 1,$(stage))" ""
ghc_stage1_NOT_NEEDED = YES
endif
@@ -108,6 +109,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
+# See Note [Stage1Only vs stage=1] in mk/config.mk.in.
ifeq "$(Stage1Only)" "YES"
ghc_stage2_NOT_NEEDED = YES
endif