diff options
author | Michael Haubenwallner <haubi@gentoo.org> | 2014-05-15 09:07:44 (GMT) |
---|---|---|
committer | Michael Haubenwallner <haubi@gentoo.org> | 2014-05-15 09:07:44 (GMT) |
commit | 7f96f0f6c890a58a1a58c76b0e636024dec2628f (patch) | |
tree | f555b2cdfea0063ddcf2292a4d074e874223477c /src/engine/SCons/Action.py | |
parent | 5036e8048daeb6aaa3e46065d04f80e49bce3ec1 (diff) | |
download | SCons-7f96f0f6c890a58a1a58c76b0e636024dec2628f.zip SCons-7f96f0f6c890a58a1a58c76b0e636024dec2628f.tar.gz SCons-7f96f0f6c890a58a1a58c76b0e636024dec2628f.tar.bz2 |
The _r in AIX xlc_r means reentrant, not relocatable.
It does not make any sense to use 'xlc' for CC and 'xlc_r' for SHCC, as the
'_r' does stand for 'reentrant' rather than 'relocatable' or similar.
Avoid 'egrep' to parse the lslpp output, it's easy enough within python.
Needs output streams of _subproc.dummyPopen to be iterable.
Diffstat (limited to 'src/engine/SCons/Action.py')
-rw-r--r-- | src/engine/SCons/Action.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/engine/SCons/Action.py b/src/engine/SCons/Action.py index 33d8790..16866b6 100644 --- a/src/engine/SCons/Action.py +++ b/src/engine/SCons/Action.py @@ -685,6 +685,7 @@ def _subproc(scons_env, cmd, error = 'ignore', **kw): class f(object): def read(self): return '' def readline(self): return '' + def __iter__(self): return iter(()) stdout = stderr = f() return dummyPopen(e) |