commit | ffcaa29472d1f0b63a6a301a61bca157c924e249 | [log] [tgz] |
---|---|---|
author | jroelofs <jroelofs> | Mon Jan 29 16:49:34 2018 |
committer | jroelofs <jroelofs> | Mon Jan 29 16:49:34 2018 |
tree | fb902b0e0dc7aa7dbc97b47d0e743ad318d63484 | |
parent | 5496e2aa5da656160b941c02fbb171d3e64ba7ec [diff] |
[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/tools/scan-build@323665 91177308-0d34-0410-b5e6-96231b3b80d8