summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2012-03-16 16:01:53 -0700
committerNathan Rajlich <nathan@tootallnate.net>2012-03-16 16:01:53 -0700
commit5abcdc967173a8019d6b0f76c1ddfa5d6e90e4a6 (patch)
tree5f73f85a38f0ded1f00f06a1a94166b80fbe8a4f /configure
parent76a771b749cb3948da4159b710a3ff07c932d228 (diff)
downloadnode-new-5abcdc967173a8019d6b0f76c1ddfa5d6e90e4a6.tar.gz
build: fix configure with spaces in CC
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 30b8f4bcfe..27a1146947 100755
--- a/configure
+++ b/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)