Commit e10dc12f authored by Jose Fonseca's avatar Jose Fonseca Committed by Roland Scheidegger

scons: need to split CC or things might fail

We've seen this fail internally.
Reviewed-by: default avatarRoland Scheidegger <>
parent d07a49fb
......@@ -134,7 +134,9 @@ def check_cc(env, cc, expr, cpp_opt = '-E'):
source.write('#if !(%s)\n#error\n#endif\n' % expr)
pipe = SCons.Action._subproc(env, [env['CC'], cpp_opt,],
# sys.stderr.write('%r %s %s\n' % (env['CC'], cpp_opt,;
pipe = SCons.Action._subproc(env, env.Split(env['CC']) + [cpp_opt,],
stdin = 'devnull',
stderr = 'devnull',
stdout = 'devnull')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment