summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorAustin Seipp <aseipp@pobox.com>2014-05-02 13:22:48 -0500
committerAustin Seipp <aseipp@pobox.com>2014-05-02 14:07:37 -0500
commit59528d9f0e7bef27acafe7cb6eaf5273aef2dcfa (patch)
treefe78a44c4a2577bc607bde333905882c0006468f /pkgs/development/python-modules/rangehttpserver
parent27a0d56514b7449ea1715b703bd1a667b4a7e9be (diff)
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>
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions