@@ -77,6 +77,7 @@ xExtensionsUnset = [ ]
77xFlagsSet :: [ GeneralFlag ]
77xFlagsSet :: [ GeneralFlag ]
78xFlagsSet = [
78xFlagsSet = [
79 Opt_Haddock
79 Opt_Haddock
82-- | Warning options set for DAML compilation. Note that these can be modified
83-- | Warning options set for DAML compilation. Note that these can be modified
@@ -121,6 +122,7 @@ adjustDynFlags paths packageState mbPackageName dflags
121 $ apply gopt_set xFlagsSet
122 $ apply gopt_set xFlagsSet
123 mainModIs = mkModule primUnitId (mkModuleName "NotAnExistingName"), -- avoid DEL-6770
124 mainModIs = mkModule primUnitId (mkModuleName "NotAnExistingName"), -- avoid DEL-6770
124 ghcLink = NoLink, hscTarget = HscNothing -- avoid generating .o or .hi files
126 ghcLink = NoLink, hscTarget = HscNothing -- avoid generating .o or .hi files
125 {-, dumpFlags = Opt_D_ppr_debug `EnumSet.insert` dumpFlags dflags -- turn on debug output from GHC-}
127 {-, dumpFlags = Opt_D_ppr_debug `EnumSet.insert` dumpFlags dflags -- turn on debug output from GHC-}