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/Builder.hs
    ... ... @@ -228,10 +228,10 @@ instance H.Builder Builder where
    228 228
               -- changes (#18001).
    
    229 229
               _bootGhcVersion <- setting GhcVersion
    
    230 230
               pure []
    
    231
    -        Ghc _ _ -> do
    
    231
    +        Ghc _ stage -> do
    
    232 232
                 root <- buildRoot
    
    233 233
                 unlitPath  <- builderPath Unlit
    
    234
    -            distro_mingw <- lookupSystemConfig "settings-use-distro-mingw"
    
    234
    +            distro_mingw <- lookupStageBuildConfig "settings-use-distro-mingw" stage
    
    235 235
     
    
    236 236
                 return $ [ unlitPath ]
    
    237 237
                       ++ [ root -/- mingwStamp | windowsHost, distro_mingw == "NO" ]