ghc-toolchain implements ld-override more restrictively than `configure`
The linker override logic in ghc-toolchain
only takes effect when the target operating system belongs to a whitelist of operating systems. configure
has no such whitelist, leading to inconsistencies.
The whitelist seems like a good idea, therefore I will update configure
to match the behavior of ghc-toolchain
.