mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
scons: need to split CC or things might fail
We've seen this fail internally. Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
parent
d07a49fb18
commit
e10dc12f6f
1 changed files with 3 additions and 1 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue