Sven Tennie pushed to branch wip/romes/hadrian-cross-stage2-rebase_SVEN_FINAL at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • hadrian/src/Settings/Default.hs
    ... ... @@ -300,21 +300,10 @@ defaultFlavour = Flavour
    300 300
         , ghcThreaded        = const True
    
    301 301
         , ghcDebugAssertions = const False
    
    302 302
         , ghcSplitSections   = False
    
    303
    -    , ghcDocs            = defaultDocsTargets
    
    303
    +    , ghcDocs            = cmdDocsArgs
    
    304 304
         , ghcHieFiles        = const False
    
    305 305
         , hashUnitIds        = False }
    
    306 306
     
    
    307
    -defaultDocsTargets :: Action DocTargets
    
    308
    -defaultDocsTargets = do
    
    309
    -  cross <- flag CrossCompiling
    
    310
    -  -- MP: Building documentation in cross configurations can work and should
    
    311
    -  -- work but currently is left as a TODO
    
    312
    -  --
    
    313
    -  -- This is the ONLY place where we should branch on building documentation in
    
    314
    -  -- the cross setting.
    
    315
    -  if cross then return Set.empty
    
    316
    -           else cmdDocsArgs
    
    317
    -
    
    318 307
     -- | Default logic for determining whether to build
    
    319 308
     --   dynamic GHC programs.
    
    320 309
     --