scons: Recognize 'AMD64' processor as well.

This commit is contained in:
José Fonseca
2011-02-15 17:31:31 +00:00
parent 590c2ee568
commit 33d8ff9c31
2 changed files with 2 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ _machine_map = {
'i586': 'x86',
'i686': 'x86',
'ppc' : 'ppc',
'AMD64': 'x86_64',
'x86_64': 'x86_64',
}

View File

@@ -203,6 +203,7 @@ def generate(env):
'i586': 'x86',
'i686': 'x86',
'ppc' : 'ppc',
'AMD64': 'x86_64',
'x86_64': 'x86_64',
}.get(host_machine, 'generic')
env['crosscompile'] = platform != host_platform