summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/spack/env/cc2
l---------lib/spack/env/ld.gold1
l---------lib/spack/env/ld.lld1
3 files changed, 3 insertions, 1 deletions
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