scons: Enable building through Clang Static Analyzer.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 16 Apr 2014 16:26:05 +0000 (17:26 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 17 Apr 2014 08:56:48 +0000 (09:56 +0100)
commit97fa9cd220092a70ac0e5204fb644dff9fed470e
tree557df56e1c2abc6131e4cca4e0a6ffd9bba0cef3
parent74f19445cc5b75302ce40be48787db877680ae5e
scons: Enable building through Clang Static Analyzer.

Same intent as commit a45a50a4828e1357e9555474bc127c5585b3a420,
but this the C compiler is detected via C-preprocessor macros,
similar to how autotools do it, as that seems to be the most
reliable method.

Reviewed-by: Brian Paul <brianp@vmware.com>
scons/gallium.py