From: José Fonseca Date: Tue, 15 Feb 2011 17:31:31 +0000 (+0000) Subject: scons: Recognize 'AMD64' processor as well. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=33d8ff9c317eeb1300bc8e189d7b9c00b352323a;p=mesa.git scons: Recognize 'AMD64' processor as well. --- diff --git a/common.py b/common.py index e7941262e52..b74b204a04f 100644 --- a/common.py +++ b/common.py @@ -30,6 +30,7 @@ _machine_map = { 'i586': 'x86', 'i686': 'x86', 'ppc' : 'ppc', + 'AMD64': 'x86_64', 'x86_64': 'x86_64', } diff --git a/scons/gallium.py b/scons/gallium.py index 76bfde1c1b7..9118257ac05 100755 --- a/scons/gallium.py +++ b/scons/gallium.py @@ -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