mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
Don't hard-code ld when extracting host linker version, use ${LD} if
it is set. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209742 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
1 parent
0949668398
commit
60aa82b5b6
2 files changed
+2
-2
No files matched your search
@@ -7612,7 +7612,7 @@ if test "${llvm_cv_link_version+set}" = set; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
|
||||
version_string="$(ld -v 2>&1 | head -1)"
|
||||
version_string="$(${LD:-ld} -v 2>&1 | head -1)"
|
||||
|
||||
# Check for ld64.
|
||||
if (echo "$version_string" | grep -q "ld64"); then
|
||||
|
||||
Reference in new issue
Block a user