]> granicus.if.org Git - clang/commit
[scan-build] Add an option to skip overriding CC and CXX make vars
authorJonathan Roelofs <jonathan@codesourcery.com>
Mon, 29 Jan 2018 16:49:34 +0000 (16:49 +0000)
committerJonathan Roelofs <jonathan@codesourcery.com>
Mon, 29 Jan 2018 16:49:34 +0000 (16:49 +0000)
commitf457c2c3dfdb45cd6d1f9cc173e95870f35afa54
tree9e9489f0e28e29c83e751dcf80a3fa12dc292a77
parenta9dc600dffddd060fff00cfce6c3b7c76af89046
[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
tools/scan-build/bin/scan-build
www/analyzer/scan-build.html