llvm-toolchain/debian/patches/32-scan-build-path.diff
Sylvestre Ledru d31f21bfd5 * Build using binutls-gold to improve the quality of the binaries.
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
2013-03-16 11:09:03 +00:00

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");
}