mirror of https://github.com/nodejs/node.git
build: fix configure with spaces in CC
parent
76a771b749
commit
5abcdc9671
|
@ -149,7 +149,7 @@ def pkg_config(pkg):
|
|||
def host_arch_cc():
|
||||
"""Host architecture check using the CC command."""
|
||||
|
||||
p = subprocess.Popen([CC, '-dM', '-E', '-'],
|
||||
p = subprocess.Popen(CC.split() + ['-dM', '-E', '-'],
|
||||
stdin=subprocess.PIPE,
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE)
|
||||
|
|
Loading…
Reference in New Issue