mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-14 02:21:13 +00:00
18 lines
957 B
Diff
18 lines
957 B
Diff
---
|
|
clang/tools/scan-build/bin/scan-build | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: llvm-toolchain-snapshot_9~svn356328/clang/tools/scan-build/bin/scan-build
|
|
===================================================================
|
|
--- llvm-toolchain-snapshot_9~svn356328.orig/clang/tools/scan-build/bin/scan-build
|
|
+++ llvm-toolchain-snapshot_9~svn356328/clang/tools/scan-build/bin/scan-build
|
|
@@ -1477,7 +1477,7 @@ sub FindClang {
|
|
if (!defined $Options{AnalyzerDiscoveryMethod}) {
|
|
$Clang = Cwd::realpath("$RealBin/bin/clang") if (-f "$RealBin/bin/clang");
|
|
if (!defined $Clang || ! -x $Clang) {
|
|
- $Clang = Cwd::realpath("$RealBin/clang") if (-f "$RealBin/clang");
|
|
+ $Clang = Cwd::realpath("/usr/lib/llvm-9/bin/clang");
|
|
if (!defined $Clang || ! -x $Clang) {
|
|
# When an Xcode toolchain is present, look for a clang in the sibling bin
|
|
# of the parent of the bin directory. So if scan-build is at
|