diff options
-rwxr-xr-x | scons/gallium.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scons/gallium.py b/scons/gallium.py index 24319a0c37..76bfde1c1b 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', |