summaryrefslogtreecommitdiffstats
path: root/scons/gallium.py
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2011-02-15 17:01:20 +0000
committerJosé Fonseca <[email protected]>2011-02-16 18:02:06 +0000
commit590c2ee5681d1224befa334ed15c70fa4a0d007a (patch)
treead14c0820958941f5a433a09cc27f67d985ab52b /scons/gallium.py
parent9f9d6481ded31d33ae62a53f6eaeeef27a8f0ca4 (diff)
scons: Don't get fooled by 32bit python on a 64bit windows.
Diffstat (limited to 'scons/gallium.py')
-rwxr-xr-xscons/gallium.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index 24319a0c378..76bfde1c1b7 100755
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -195,7 +195,7 @@ def generate(env):
# Determine whether we are cross compiling; in particular, whether we need
# to compile code generators with a different compiler as the target code.
host_platform = _platform.system().lower()
- host_machine = os.environ.get('PROCESSOR_ARCHITECTURE', _platform.machine())
+ host_machine = os.environ.get('PROCESSOR_ARCHITEW6432', os.environ.get('PROCESSOR_ARCHITECTURE', _platform.machine()))
host_machine = {
'x86': 'x86',
'i386': 'x86',