Mesa (gallium-0.2): scons: Fix toolchain selection.

Alan Hourihane alanh at kemper.freedesktop.org
Tue Nov 25 09:28:47 UTC 2008


Module: Mesa
Branch: gallium-0.2
Commit: 79bfe372f2bfa633c457e82a3e37f3eb42af4b5b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=79bfe372f2bfa633c457e82a3e37f3eb42af4b5b

Author: Michal Krol <michal at tungstengraphics.com>
Date:   Wed Nov 19 20:31:38 2008 +0100

scons: Fix toolchain selection.

---

 scons/gallium.py |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/scons/gallium.py b/scons/gallium.py
index 4622903..59ec6ec 100644
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -174,10 +174,9 @@ def generate(env):
     platform = env['platform']
     if env['toolchain'] == 'default':
         if platform == 'winddk':
-            env['toolchain'] == 'winddk'
+            env['toolchain'] = 'winddk'
         elif platform == 'wince':
-            env.Tool('wcesdk')
-            env['toolchain'] == 'wcesdk'
+            env['toolchain'] = 'wcesdk'
     env.Tool(env['toolchain'])
 
     # shortcuts




More information about the mesa-commit mailing list