Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • hadrian/src/Settings/Packages.hs
    ... ... @@ -53,7 +53,7 @@ packageArgs = do
    53 53
             -- for Stage0 only so we can link ghc-pkg against it, so there is little
    
    54 54
             -- reason to spend the effort to optimise it.
    
    55 55
             , package cabal ?
    
    56
    -          stage0 ? builder Ghc ? arg "-O0"
    
    56
    +          andM [stage0, notCross] ? builder Ghc ? arg "-O0"
    
    57 57
     
    
    58 58
             ------------------------------- compiler -------------------------------
    
    59 59
             , package compiler ? mconcat
    
    ... ... @@ -71,7 +71,7 @@ packageArgs = do
    71 71
                 -- These files take a very long time to compile with -O1,
    
    72 72
                 -- so we use -O0 for them just in Stage0 to speed up the
    
    73 73
                 -- build but not affect Stage1+ executables
    
    74
    -            , inputs ["**/GHC/Hs/Instances.hs", "**/GHC/Driver/Session.hs"] ? stage0 ?
    
    74
    +            , inputs ["**/GHC/Hs/Instances.hs", "**/GHC/Driver/Session.hs"] ? andM [stage0, notCross] ?
    
    75 75
                   pure ["-O0"] ]
    
    76 76
     
    
    77 77
               , builder (Cabal Setup) ? mconcat