build: fix configure with spaces in CC

pull/24503/head
Alex Xu 2012-03-16 16:01:53 -07:00 committed by Nathan Rajlich
parent 76a771b749
commit 5abcdc9671
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -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)