summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rwxr-xr-xlib/spack/env/cc2
l---------lib/spack/env/ld.gold1
l---------lib/spack/env/ld.lld1
4 files changed, 4 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index c3d2670af4..c75b98089c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -132,6 +132,7 @@ celerybeat.pid
.env
.venv
env/
+!/lib/spack/env
venv/
ENV/
env.bak/
diff --git a/lib/spack/env/cc b/lib/spack/env/cc
index 5157a5f381..2bcff42dfd 100755
--- a/lib/spack/env/cc
+++ b/lib/spack/env/cc
@@ -163,7 +163,7 @@ case "$command" in
lang_flags=F
debug_flags="-g"
;;
- ld)
+ ld|ld.gold|ld.lld)
mode=ld
;;
*)
diff --git a/lib/spack/env/ld.gold b/lib/spack/env/ld.gold
new file mode 120000
index 0000000000..2652f5f42c
--- /dev/null
+++ b/lib/spack/env/ld.gold
@@ -0,0 +1 @@
+cc \ No newline at end of file
diff --git a/lib/spack/env/ld.lld b/lib/spack/env/ld.lld
new file mode 120000
index 0000000000..2652f5f42c
--- /dev/null
+++ b/lib/spack/env/ld.lld
@@ -0,0 +1 @@
+cc \ No newline at end of file