scons: Fix toolchain selection.
authorMichal Krol <michal@tungstengraphics.com>
Wed, 19 Nov 2008 19:31:38 +0000 (20:31 +0100)
committerMichal Krol <michal@tungstengraphics.com>
Wed, 19 Nov 2008 19:31:38 +0000 (20:31 +0100)
scons/gallium.py

index f7ac5e543e395f1cec333584d66f9fe80d101160..14065e40c02228e4781bafb11bbed51bfe404330 100644 (file)
@@ -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