Browse Source

build: fix configure with spaces in CC

v0.9.1-release
Alex Xu 13 years ago
committed by Nathan Rajlich
parent
commit
5abcdc9671
  1. 2
      configure

2
configure

@ -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…
Cancel
Save