summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scons/gallium.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index 4622903edd2..59ec6eccf8a 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