]> granicus.if.org Git - clang/commit
Fix a bug when scan-build is used in a cross-compilation environment with
authorSylvestre Ledru <sylvestre@debian.org>
Fri, 8 Aug 2014 17:15:13 +0000 (17:15 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Fri, 8 Aug 2014 17:15:13 +0000 (17:15 +0000)
commit22efa1bf39c566e0a5073e392664b523379b63c3
treeae8b49f3f1f598c51e4f52458f50603bc2a1028c
parent55a1129d8526e4ca9742b21c8c64fd0bb1d862c1
Fix a bug when scan-build is used in a cross-compilation environment with
the --use-cc option.

Instead, we will search in the PATH
For example:
 scan-build --use-cc=arm-none-eabi-gcc -o out make -e

Initially reported as a Debian Bug:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748777

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@215229 91177308-0d34-0410-b5e6-96231b3b80d8
tools/scan-build/ccc-analyzer