• Ben Gamari's avatar
    configure: Ensure that we don't set LD to unusable linker · fcd2db14
    Ben Gamari authored
    Previously if we found an unusable linker in PATH (e.g. ld.lld on OS X)
    we would notice the -fuse-ld=... was broken, but neglected to reset LD
    to a usable linker. This resulted in brokenness on OS X when lld is in
    PATH.
    
    Test Plan: Validate on OS X with lld in PATH
    
    Reviewers: austin, hvr, angerman
    
    Reviewed By: angerman
    
    Subscribers: rwbarton, thomie, erikd, angerman
    
    GHC Trac Issues: #13541
    
    Differential Revision: https://phabricator.haskell.org/D3713
    fcd2db14
aclocal.m4 71 KB