snowleopard / hadrian

Hadrian: a new build system for the Glasgow Haskell Compiler. Now merged into the GHC tree!
https://gitlab.haskell.org/ghc/ghc/tree/master/hadrian
MIT License
208 stars 39 forks source link

fix a logic error that kept us from building/linking object files for many ways #687

Closed alpmestan closed 5 years ago

alpmestan commented 5 years ago

It's the obvious error that we've made a few times already. "way == something" instead of "way contains ...".

This was causing linker errors and what not for several tests, which are now fixed, with this patch.