Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
build: fix configure with spaces in CC
Browse files Browse the repository at this point in the history
  • Loading branch information
Hello71 authored and TooTallNate committed Mar 16, 2012
1 parent 76a771b commit 5abcdc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure
Expand Up @@ -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)
Expand Down

0 comments on commit 5abcdc9

Please sign in to comment.