Revert "scons: Enable building through Clang Static Analyzer."
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 16 Apr 2014 12:13:48 +0000 (13:13 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 16 Apr 2014 12:18:06 +0000 (13:18 +0100)
commite3c58cdfd97d390cb4c1a02852ab0417bd68c861
tree8aafd714553f10d794eff8e9c872f3f0e8d0ba99
parent11459436d9314681087463f2c006c58b6fcff396
Revert "scons: Enable building through Clang Static Analyzer."

This reverts commit a45a50a4828e1357e9555474bc127c5585b3a420.

Unfortunately gcc dumps argv[0] as the first word of --version, so it is
unreliable for detecting gcc.

In particular `cc --version` and `i686-w64-mingw32-gcc --version` give
wrong results.

A better solution needs to be found -- most likely using C-preprocessing
like autotools does.  Revert for now.
scons/gallium.py