summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2011-02-15 17:31:31 +0000
committerJosé Fonseca <[email protected]>2011-02-16 18:02:08 +0000
commit33d8ff9c317eeb1300bc8e189d7b9c00b352323a (patch)
treee4ee8291c7d0eead514e4dd53827e4c91d7b2724
parent590c2ee5681d1224befa334ed15c70fa4a0d007a (diff)
scons: Recognize 'AMD64' processor as well.
-rw-r--r--common.py1
-rwxr-xr-xscons/gallium.py1
2 files changed, 2 insertions, 0 deletions
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