diff options
Diffstat (limited to 'ghc/ghc.mk')
-rw-r--r-- | ghc/ghc.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ghc/ghc.mk b/ghc/ghc.mk index 44dd126d37..a5c7801863 100644 --- a/ghc/ghc.mk +++ b/ghc/ghc.mk @@ -161,6 +161,12 @@ $(GHC_STAGE2) : | $$(touchy_INPLACE) $(GHC_STAGE3) : | $$(touchy_INPLACE) endif +# Modules like vector:Data.Vector.Fusion.Stream.Monadic use annotations, +# which means they depend on GHC.Desugar. To ensure that This module is +# available by the time it is needed, we make the stage 2 compiler +# depend on it. +$(GHC_STAGE2) : $(foreach w,$(GhcLibWays),libraries/base/dist-install/build/GHC/Desugar.$($w_osuf)) + endif INSTALL_LIBS += settings |