nixpkgs/pkgs/development
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
..
arduino ino: update to 0.3.6 2013-11-26 23:55:31 +01:00
compilers compcert: Fix Hydra platforms 2014-05-02 14:07:36 -05:00
eclipse ecj: Add a setup hook that makes Ant use ECJ automatically 2014-01-06 14:36:15 +01:00
guile-modules guile-xcb: fix hash 2014-02-17 09:48:34 +08:00
interpreters Readding Erlang R16B02: R17 is a major update and it breaks Ejabberd. 2014-05-02 20:50:58 +04:00
libraries Update haskell-hspec to version 0.9.5 2014-05-02 14:57:46 +08:00
lisp-modules preferLocalBuild: set to true for wrappers and fetchers 2014-02-10 21:04:17 +01:00
misc fixup previous commit: do the change to attribute 2014-01-31 18:51:10 +01:00
mobile Merge pull request #2346 from cpages/android 2014-04-21 23:27:10 +02:00
ocaml-modules zarith: fix perl path 2014-05-01 09:14:16 -05:00
perl-modules perl-dbix-class: Fix tests with newer SQLite. 2014-04-22 16:27:28 +02:00
python-modules #492 python-virtualenv: make modules of the python wrapper available 2014-04-18 18:08:49 +02:00
qtcreator qtcreator: Make the qt package optional and introduce the QtSDK 2013-10-21 09:36:45 +02:00
r-modules/generic Wrapped R's package system similarly to perlPackages 2013-09-28 13:19:43 +02:00
ruby-modules
tools clang-analyzer: respect $NIX_CFLAGS_COMPILE 2014-05-02 14:07:37 -05:00
web nodejs: fix on i686-linux 2014-04-29 22:29:24 +02:00