1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-22 16:26:48 -04:00
nixpkgs/pkgs/development/tools
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
..
analysis clang-analyzer: respect $NIX_CFLAGS_COMPILE 2014-05-02 14:07:37 -05:00
boomerang
build-managers
casperjs
cdecl
continuous-integration/jenkins
documentation
gnulib
guile
haskell cabal-bounds: re-generate with cabal2nix 2014-05-01 23:38:20 +02:00
java
jq
literate-programming/noweb
misc nixpkgs: move frama-c to a more appropriate directory 2014-05-01 19:14:08 -05:00
neoload
node-webkit
ocaml
parsing
phantomjs
profiling
pydb
selenium
slimerjs
vagrant