scons: Whitelist useful environment variables
authorAndreas Sandberg <Andreas.Sandberg@ARM.com>
Mon, 7 Jan 2013 18:05:39 +0000 (13:05 -0500)
committerAndreas Sandberg <Andreas.Sandberg@ARM.com>
Mon, 7 Jan 2013 18:05:39 +0000 (13:05 -0500)
commit4c06be60fce383be08aaaf21fc4059dcc0f8a23a
tree8fb13a84f119400a7b592bc6a45f6fbc0a86bc89
parent694a81e9942724544024266378604fb7d6b3dd40
scons: Whitelist useful environment variables

Scons normally removes all environment variables that aren't
whitelisted from the build environment. This messes up things like
ccache, distcc, and the clang static analyzer. This changeset adds the
DISTCC_, CCACHE_, and CCC_ prefixes to the environment variable
whitelist.
SConstruct