mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
Fix configure on x86
This commit is contained in:
2
wscript
2
wscript
@@ -21,7 +21,7 @@ if os.environ.has_key('JOBS'):
|
||||
|
||||
|
||||
def canonical_cpu_type(arch):
|
||||
m = {'i386':'ia32', 'x86_64':'x64', 'amd64':'x64'}
|
||||
m = {'x86': 'ia32', 'i386':'ia32', 'x86_64':'x64', 'amd64':'x64'}
|
||||
if arch in m: arch = m[arch]
|
||||
if not arch in supported_archs:
|
||||
raise Exception("supported architectures are "+', '.join(supported_archs)+\
|
||||
|
||||
Reference in New Issue
Block a user