diff options
author | Jonathan Roelofs <jonathan@codesourcery.com> | 2018-01-29 16:49:34 +0000 |
---|---|---|
committer | Jonathan Roelofs <jonathan@codesourcery.com> | 2018-01-29 16:49:34 +0000 |
commit | f457c2c3dfdb45cd6d1f9cc173e95870f35afa54 (patch) | |
tree | 9e9489f0e28e29c83e751dcf80a3fa12dc292a77 /www | |
parent | a9dc600dffddd060fff00cfce6c3b7c76af89046 (diff) | |
download | clang-f457c2c3dfdb45cd6d1f9cc173e95870f35afa54.tar.gz |
[scan-build] Add an option to skip overriding CC and CXX make vars
Autoconf and some other systems tend to add essential compilation
options to CC (e.g. -std=gnu99). When running such an auto-generated
makefile, scan-build does not need to change CC and CXX as they are
already set to use ccc-analyzer by a configure script.
Implement a new option --keep-cc as was proposed in this discussion:
http://lists.llvm.org/pipermail/cfe-dev/2013-September/031832.html
Patch by Paul Fertser!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@323665 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'www')
-rw-r--r-- | www/analyzer/scan-build.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/analyzer/scan-build.html b/www/analyzer/scan-build.html index b16f6bb53f..e4c54c5d2d 100644 --- a/www/analyzer/scan-build.html +++ b/www/analyzer/scan-build.html @@ -248,7 +248,7 @@ you will probably need to run <tt>configure</tt> script through <pre class="code_example"> $ scan-build ./configure -$ scan-build make +$ scan-build --keepk-cc make </pre> <p>The reason <tt>configure</tt> also needs to be run through |