diff options
author | Sadique Ali <sadiqalikm@gmail.com> | 2012-02-28 04:26:34 +0530 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2012-03-05 16:56:52 +0100 |
commit | 707863c1fb13dacb48811b55801cdc83a4726904 (patch) | |
tree | e432c5ac65ea062d8231d74785a5f4d66ffc5121 /configure | |
parent | c97b4f1971d79a687f32dd503326bde2bcc25729 (diff) | |
download | node-new-707863c1fb13dacb48811b55801cdc83a4726904.tar.gz |
build: make CC command in host check configurable
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -147,8 +147,7 @@ def pkg_config(pkg): def host_arch(): """Host architecture. One of arm, ia32 or x64.""" - # TODO better/configurable way of getting the proper 'cc' command? - cc = [ 'cc' ] + cc = [os.environ.get('CC', 'cc')] cmd = cc + [ '-dM', '-E', '-' ] p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE) |