We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed7bfb5 commit 201ec91Copy full SHA for 201ec91
configure
@@ -47,7 +47,7 @@ parser = optparse.OptionParser()
47
valid_os = ('win', 'mac', 'solaris', 'freebsd', 'openbsd', 'linux',
48
'android', 'aix')
49
valid_arch = ('arm', 'arm64', 'ia32', 'mips', 'mipsel', 'ppc', 'ppc64', 'x32',
50
- 'x64', 'x86', 's390', 's390x')
+ 'x64', 'x86', 'x86_64', 's390', 's390x')
51
valid_arm_float_abi = ('soft', 'softfp', 'hard')
52
valid_arm_fpu = ('vfp', 'vfpv3', 'vfpv3-d16', 'neon')
53
valid_mips_arch = ('loongson', 'r1', 'r2', 'r6', 'rx')
@@ -747,6 +747,9 @@ def configure_node(o):
747
# the Makefile resets this to x86 afterward
748
if target_arch == 'x86':
749
target_arch = 'ia32'
750
+ # x86_64 is common across linuxes, allow it as an alias for x64
751
+ if target_arch == 'x86_64':
752
+ target_arch = 'x64'
753
o['variables']['host_arch'] = host_arch
754
o['variables']['target_arch'] = target_arch
755
o['variables']['node_byteorder'] = sys.byteorder
0 commit comments