mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-14 17:54:50 +00:00
Force scan-build to use the same version of clang
This commit is contained in:
parent
123b95cbee
commit
330d44c66a
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -1,6 +1,7 @@
|
||||
llvm-toolchain-snapshot (1:3.6~svn214630-1~exp2) UNRELEASED; urgency=medium
|
||||
|
||||
* Enable compressed debug sections (Closes: #757002)
|
||||
* Force scan-build to use the same version of clang
|
||||
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Mon, 04 Aug 2014 13:36:15 +0200
|
||||
|
||||
|
2
debian/patches/scan-build-clang-path.diff
vendored
2
debian/patches/scan-build-clang-path.diff
vendored
@ -7,7 +7,7 @@ Index: llvm-toolchain-snapshot_3.5~svn199197/clang/tools/scan-build/scan-build
|
||||
# Find 'clang'
|
||||
if (!defined $AnalyzerDiscoveryMethod) {
|
||||
- $Clang = Cwd::realpath("$RealBin/bin/clang");
|
||||
+ $Clang = Cwd::realpath("/usr/bin/clang");
|
||||
+ $Clang = Cwd::realpath("/usr/lib/llvm-3.6/bin/clang");
|
||||
if (!defined $Clang || ! -x $Clang) {
|
||||
$Clang = Cwd::realpath("$RealBin/clang");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user