projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d07a49f
)
scons: need to split CC or things might fail
author
Jose Fonseca
<jfonseca@vmware.com>
Mon, 19 Mar 2018 15:41:57 +0000
(16:41 +0100)
committer
Roland Scheidegger
<sroland@vmware.com>
Mon, 19 Mar 2018 15:41:57 +0000
(16:41 +0100)
We've seen this fail internally.
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
scons/gallium.py
patch
|
blob
|
history
diff --git
a/scons/gallium.py
b/scons/gallium.py
index ef3b2ee81ae233b8807f356b308ba5aa48880399..75200b89c1fe6d7519807ed0bc38e9118e00131e 100755
(executable)
--- a/
scons/gallium.py
+++ b/
scons/gallium.py
@@
-134,7
+134,9
@@
def check_cc(env, cc, expr, cpp_opt = '-E'):
source.write('#if !(%s)\n#error\n#endif\n' % expr)
source.close()
- pipe = SCons.Action._subproc(env, [env['CC'], cpp_opt, source.name],
+ # sys.stderr.write('%r %s %s\n' % (env['CC'], cpp_opt, source.name));
+
+ pipe = SCons.Action._subproc(env, env.Split(env['CC']) + [cpp_opt, source.name],
stdin = 'devnull',
stderr = 'devnull',
stdout = 'devnull')