Files
nixpkgs/pkgs/development/tools/analysis
Austin Seipp 59528d9f0e clang-analyzer: respect $NIX_CFLAGS_COMPILE
When using scan-build, you're often going to want to use it in the
context of a Nix expression with buildInputs, and the default wrapper
scripts will put things like include locations for those inputs
$NIX_CFLAGS_COMPILE. Thus, scan-build also needs to pass them to the
analyzer - while the link flags aren't relevant, the include flags are.

This is because the analyzer executable that gets run by scan-build is
*not* clang-wrapper, but the actual clang executable, so it doesn't
implicitly add such arguments. The build is two-stage - it runs the real
clang wrapper once, and then the analyzer once.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2014-05-02 14:07:37 -05:00
..
2013-10-05 19:36:23 +02:00
2014-04-29 16:00:34 -05:00
2014-01-23 14:17:44 +01:00
2013-10-06 12:01:38 +02:00
2013-10-06 12:01:38 +02:00
2012-02-15 16:07:38 +00:00
2014-01-28 18:11:00 +01:00
2013-08-06 21:20:47 +02:00
2014-02-26 12:39:46 +01:00