Blame SOURCES/runtime-arm64-lld-fix.patch

8c3e2c
diff --git a/eng/native/init-compiler.sh b/eng/native/init-compiler.sh
8c3e2c
index 567d18da474..927b3071e92 100755
8c3e2c
--- a/eng/native/init-compiler.sh
8c3e2c
+++ b/eng/native/init-compiler.sh
8c3e2c
@@ -108,7 +108,7 @@ if [[ -z "$CC" ]]; then
8c3e2c
 fi
8c3e2c
 
8c3e2c
 if [[ "$compiler" == "clang" ]]; then
8c3e2c
-    if command -v "lld$desired_version" > /dev/null; then
8c3e2c
+    if command -v lld || command -v "lld$desired_version" > /dev/null; then
8c3e2c
         # Only lld version >= 9 can be considered stable
8c3e2c
         if [[ "$majorVersion" -ge 9 ]]; then
8c3e2c
             LDFLAGS="-fuse-ld=lld"