summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaochen Tong <i@hexchain.org>2021-10-14 14:15:04 +0800
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-10-22 19:21:21 -0400
commit47ba842b1753b2870c720fb2297371731d444c35 (patch)
tree516680e8a953c29814486320e8216cf006b07dc8
parent806e49ae36a058dbe4494055a6b936dd153c6194 (diff)
downloadhaskell-47ba842b1753b2870c720fb2297371731d444c35.tar.gz
Fix compilerConfig stages
Fix the call to compilerConfig because it accepts 1-indexed stage numbers. Also fixes `make stage=3`.
-rw-r--r--compiler/ghc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ghc.mk b/compiler/ghc.mk
index 08004b1c5c..066de58f89 100644
--- a/compiler/ghc.mk
+++ b/compiler/ghc.mk
@@ -97,9 +97,9 @@ compiler/stage$1/build/GHC/Platform/Constants.hs : $$(deriveConstants_INPLACE) |
$$< --gen-haskell-type -o $$@
endef
-$(eval $(call compilerConfig,0))
$(eval $(call compilerConfig,1))
$(eval $(call compilerConfig,2))
+$(eval $(call compilerConfig,3))
# ----------------------------------------------------------------------------
# Generate supporting stuff for GHC/Builtin/PrimOps.hs