• Ben Gamari's avatar
    configure: Make sure we try all possible linkers · a10729f0
    Ben Gamari authored
    Previously if we had both ld.lld and ld.gold installed but a gcc which
    didn't support -fuse-ld=lld we would fail when trying ld.lld and fall
    immediately back to plain ld. Now we will try ld.gold as well. This was
    brought to light by #14280, where using ld.bfd resulted in a broken
    stage2 compiler.
    Test Plan: Configure
    Reviewers: angerman, hvr, austin
    Reviewed By: angerman
    Subscribers: rwbarton, thomie, erikd
    GHC Trac Issues: #14280
    Differential Revision: https://phabricator.haskell.org/D4038
aclocal.m4 73.6 KB