mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-02 14:02:04 +00:00
Fix the patch detection of clang from scan-build (Closes: #698352)
This commit is contained in:
parent
cb21446b7a
commit
9b58061c74
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -2,8 +2,8 @@ llvm-toolchain-3.2 (3.2-1) unstable; urgency=low
|
||||
|
||||
* Build the whole LLVM toolchain at once.
|
||||
TODO
|
||||
* Build using cmake instead of the autotools
|
||||
* Also install clang-check & clang-tblgen in the clang-3.2 package
|
||||
* Fix the patch detection of clang from scan-build (Closes: #698352)
|
||||
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Mon, 07 Jan 2013 15:45:54 +0100
|
||||
|
||||
|
13
debian/patches/scan-build-clang-path.diff
vendored
Normal file
13
debian/patches/scan-build-clang-path.diff
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
Index: llvm-toolchain-3.2-3.2/clang/tools/scan-build/scan-build
|
||||
===================================================================
|
||||
--- llvm-toolchain-3.2-3.2.orig/clang/tools/scan-build/scan-build 2012-09-15 07:51:10.000000000 +0200
|
||||
+++ llvm-toolchain-3.2-3.2/clang/tools/scan-build/scan-build 2013-01-17 16:04:10.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");
|
||||
}
|
Loading…
Reference in New Issue
Block a user