For some reason the Windows HEAD builder has started thinking the ghci
flag should be on in stage 1. This should fix it, and generally make
things a little more resilient.
Flag stage1
Description: Is this stage 1?
Default: False
+ Manual: True
Flag stage2
Description: Is this stage 2?
Default: False
+ Manual: True
Flag stage3
Description: Is this stage 3?
Default: False
+ Manual: True
Library
Exposed: False
Flag ghci
Description: Build GHCi support.
+ Default: False
+ Manual: True
Executable ghc
Main-Is: Main.hs
ghc_USES_CABAL = YES
ghc_PACKAGE = ghc-bin
+ghc_stage1_CONFIGURE_OPTS += --flags=stage1
+ghc_stage2_CONFIGURE_OPTS += --flags=stage2
+ghc_stage3_CONFIGURE_OPTS += --flags=stage3
+
+ifeq "$(GhcWithInterpreter)" "YES"
+ghc_stage2_CONFIGURE_OPTS += --flags=ghci
+endif
+
ghc_stage1_MORE_HC_OPTS = $(GhcStage1HcOpts)
ghc_stage2_MORE_HC_OPTS = $(GhcStage2HcOpts)
ghc_stage3_MORE_HC_OPTS = $(GhcStage3HcOpts)