summaryrefslogtreecommitdiff
path: root/compiler/ghc.mk
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/ghc.mk')
-rw-r--r--compiler/ghc.mk7
1 files changed, 1 insertions, 6 deletions
diff --git a/compiler/ghc.mk b/compiler/ghc.mk
index 8703e247c8..de14a01646 100644
--- a/compiler/ghc.mk
+++ b/compiler/ghc.mk
@@ -93,7 +93,7 @@ compiler/stage$1/build/Config.hs : mk/config.mk mk/project.mk | $$$$(dir $$$$@)/
@echo 'cBooterVersion = "$(GhcVersion)"' >> $$@
@echo >> $$@
@echo 'cStage :: String' >> $$@
- @echo 'cStage = show (GHC_STAGE :: Int)' >> $$@
+ @echo 'cStage = show ($1 :: Int)' >> $$@
@echo done.
endef
@@ -270,11 +270,6 @@ endif
compiler_stage3_CONFIGURE_OPTS := $(compiler_stage2_CONFIGURE_OPTS)
-compiler_stage1_CONFIGURE_OPTS += --ghc-option=-DGHC_STAGE=1
-compiler_stage2_CONFIGURE_OPTS += --ghc-option=-DGHC_STAGE=2
-compiler_stage3_CONFIGURE_OPTS += --ghc-option=-DGHC_STAGE=3
-compiler_stage2_HADDOCK_OPTS += --optghc=-DGHC_STAGE=2
-
compiler/stage1/package-data.mk : compiler/ghc.mk
compiler/stage2/package-data.mk : compiler/ghc.mk
compiler/stage3/package-data.mk : compiler/ghc.mk