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

Commits:

1 changed file:

Changes:

  • hadrian/src/Rules/Libffi.hs
    ... ... @@ -150,7 +150,8 @@ configureEnvironment stage@Stage1 = do
    150 150
                         -- TODO: Use staged LD for winTarget. This is only a hack because the wrong staged LD was provided.
    
    151 151
                         [remBuilderEnvironment "LD"]
    
    152 152
                       else
    
    153
    -                    [builderEnvironment "LD" (Ld stage)])
    
    153
    +                    [ -- TODO: This should be the staged LD, but that points to GCC and not LD.
    
    154
    +                   ])
    
    154 155
     
    
    155 156
     configureEnvironment stage = do
    
    156 157
         context <- libffiContext stage
    
    ... ... @@ -170,7 +171,8 @@ configureEnvironment stage = do
    170 171
                         -- TODO: We should use the staged LD here. Unfortunately, that differs from what's expected via $LD.
    
    171 172
                         []
    
    172 173
                       else
    
    173
    -                    [builderEnvironment "LD" (Ld stage)])
    
    174
    +                    [ -- TODO: This should be the staged LD, but that points to GCC and not LD.
    
    175
    +                   ])
    
    174 176
     
    
    175 177
     -- Need the libffi archive and `trackAllow` all files in the build directory.
    
    176 178
     -- See [Libffi indicating inputs].