From 5abcdc967173a8019d6b0f76c1ddfa5d6e90e4a6 Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Fri, 16 Mar 2012 16:01:53 -0700 Subject: [PATCH] build: fix configure with spaces in CC --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 30b8f4bcfe8..27a11469479 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)