mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-14 05:38:47 +00:00

See: http://allievi.sssup.it/techblog/?p=791 * Detect the vendor (Debian or Ubuntu) and update the configuration * Port to powerpcspe. Thanks to Roland Stigge (Closes: #701587) See: 31-powerpcspe.diff * Fix the path detection of scan-build (Closes: #698352) See: 32-scan-build-path.diff
14 lines
579 B
Diff
14 lines
579 B
Diff
Index: clang-3.2/tools/clang/tools/scan-build/scan-build
|
|
===================================================================
|
|
--- clang-3.2.orig/tools/clang/tools/scan-build/scan-build 2012-09-15 07:51:10.000000000 +0200
|
|
+++ clang-3.2/tools/clang/tools/scan-build/scan-build 2013-03-15 15:00:05.000000000 +0100
|
|
@@ -1459,7 +1459,7 @@
|
|
|
|
# Find 'clang'
|
|
if (!defined $AnalyzerDiscoveryMethod) {
|
|
- $Clang = Cwd::realpath("$RealBin/bin/clang");
|
|
+ $Clang = Cwd::realpath("/usr/bin/clang");
|
|
if (!defined $Clang || ! -x $Clang) {
|
|
$Clang = Cwd::realpath("$RealBin/clang");
|
|
}
|