Fix configure on x86

pull/22966/head
Ryan Dahl 2010-11-14 22:46:26 -08:00
parent a6c3d7121b
commit 25eecd179b
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ if os.environ.has_key('JOBS'):
def canonical_cpu_type(arch): 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 arch in m: arch = m[arch]
if not arch in supported_archs: if not arch in supported_archs:
raise Exception("supported architectures are "+', '.join(supported_archs)+\ raise Exception("supported architectures are "+', '.join(supported_archs)+\