diff options
Diffstat (limited to 'third_party/scons/scons-local/SCons/Tool/gcc.py')
-rw-r--r-- | third_party/scons/scons-local/SCons/Tool/gcc.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/third_party/scons/scons-local/SCons/Tool/gcc.py b/third_party/scons/scons-local/SCons/Tool/gcc.py index 3ec277f..db07575 100644 --- a/third_party/scons/scons-local/SCons/Tool/gcc.py +++ b/third_party/scons/scons-local/SCons/Tool/gcc.py @@ -31,7 +31,7 @@ selection method. # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # -__revision__ = "src/engine/SCons/Tool/gcc.py 3603 2008/10/10 05:46:45 scons" +__revision__ = "src/engine/SCons/Tool/gcc.py 3842 2008/12/20 22:59:52 scons" import cc import os @@ -55,7 +55,8 @@ def generate(env): if env['CC']: #pipe = SCons.Action._subproc(env, [env['CC'], '-dumpversion'], pipe = SCons.Action._subproc(env, [env['CC'], '--version'], - stderr = subprocess.PIPE, + stdin = 'devnull', + stderr = 'devnull', stdout = subprocess.PIPE) if pipe.wait() != 0: return # -dumpversion was added in GCC 3.0. As long as we're supporting |