Add ld.gold and ld.lld compiler wrapper (#25626)

The gcc compiler can be configured to use `ld.gold` by default. It will
then call `ld.gold` explicitly when linking. When so, spack need to have
a ld.gold wrapper in PATH to inject rpaths link flags etc...

Also I wouldn't be surprised to see some package calling `ld.gold`
directly.

As for ld.gold, the argument could be made that we want to support any
package that could call ld.lld.
This commit is contained in:
Jordan Galby
2021-08-27 13:16:26 +02:00
committed by GitHub
parent c152e558e9
commit 97ea57e59f
4 changed files with 4 additions and 1 deletions

1
.gitignore vendored
View File

@@ -132,6 +132,7 @@ celerybeat.pid
.env
.venv
env/
!/lib/spack/env
venv/
ENV/
env.bak/