llvm-toolchain/debian/patches/scan-build-clang-path.diff
Sylvestre Ledru 621afe854a * Sync recent changes from the 3.3 branch
* Integrate patch to fix FTBFS under IA64.
* Disable the usage of binutils-gold under armel. It currently fails with:
  "attempt to map 2752512 bytes at offset 2066666 exceeds size of file;
  the file may be corrupt"
2013-07-01 12:40:22 +00:00

14 lines
645 B
Diff

Index: llvm-toolchain-snapshot_3.4~svn185325/clang/tools/scan-build/scan-build
===================================================================
--- llvm-toolchain-snapshot_3.4~svn185325.orig/clang/tools/scan-build/scan-build 2013-07-01 13:28:41.000000000 +0200
+++ llvm-toolchain-snapshot_3.4~svn185325/clang/tools/scan-build/scan-build 2013-07-01 13:28:41.000000000 +0200
@@ -1538,7 +1538,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");
}