We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1107a49 commit 659b2a1Copy full SHA for 659b2a1
configure
@@ -61,7 +61,7 @@ parser = optparse.OptionParser()
61
valid_os = ('win', 'mac', 'solaris', 'freebsd', 'openbsd', 'linux',
62
'android', 'aix')
63
valid_arch = ('arm', 'arm64', 'ia32', 'mips', 'mipsel', 'mips64el', 'ppc',
64
- 'ppc64', 'x32','x64', 'x86', 's390', 's390x')
+ 'ppc64', 'x32','x64', 'x86', 'x86_64', 's390', 's390x')
65
valid_arm_float_abi = ('soft', 'softfp', 'hard')
66
valid_arm_fpu = ('vfp', 'vfpv3', 'vfpv3-d16', 'neon')
67
valid_mips_arch = ('loongson', 'r1', 'r2', 'r6', 'rx')
@@ -861,6 +861,9 @@ def configure_node(o):
861
# the Makefile resets this to x86 afterward
862
if target_arch == 'x86':
863
target_arch = 'ia32'
864
+ # x86_64 is common across linuxes, allow it as an alias for x64
865
+ if target_arch == 'x86_64':
866
+ target_arch = 'x64'
867
o['variables']['host_arch'] = host_arch
868
o['variables']['target_arch'] = target_arch
869
o['variables']['node_byteorder'] = sys.byteorder
0 commit comments