From 8a191c08ddda2e66fa26f148d6c21959bb08f923 Mon Sep 17 00:00:00 2001 From: marha Date: Sun, 20 Feb 2011 12:29:25 +0000 Subject: xserver xkeyboard-config libX11 pixman mesa git update 2011 --- mesalib/scons/gallium.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mesalib/scons') diff --git a/mesalib/scons/gallium.py b/mesalib/scons/gallium.py index ac8888cf6..46df7a899 100644 --- a/mesalib/scons/gallium.py +++ b/mesalib/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', @@ -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 -- cgit v1.2.3