joyent/node — Issue #2535: ./configure --dist-cpu=x64 not working on Mac OS X Lion
Author: englishmatt
Created: 2012-01-15 05:53:05+00:00
State: open

When attempting to build to a 64-bit architecture on Lion, the configure script is still reporting a 32-bit host environment (and subsequently, setting the target architecture as such (output below)). Also reported on [stackoverflow](http://stackoverflow.com/questions/8867241/configure-dest-cpu-x64-not-setting-correct-target-architecture-on-mac-os-10) with more anecdotal information.

```'{ 'target_defaults': { 'cflags': [],
'defines': [],
'include_dirs': [],
'libraries': ['-lz']},
'variables': { 'host_arch': 'ia32',
'node_debug': 'false',
'node_install_npm': 'true',
'node_prefix': '/usr/local',
'node_shared_cares': 'false',
'node_shared_v8': 'false',
'node_use_dtrace': 'false',
'node_use_isolates': 'true',
'node_use_openssl': 'true',
'node_use_system_openssl': 'false',
'target_arch': 'ia32',
'v8_use_snapshot': 'true'}}```