Draft: Generalise linker detection
The main motivation for this change is that mold reports it's version as
mold 0.9.6 (compatible with GNU ld and GNU gold)
So now we check whether GNU ld
or GNU gold
is infix to any of the version string.
I also added mold as one of the linkers we will look for by default when configuring.
Also includes !7295 (closed)