summaryrefslogtreecommitdiff
path: root/scons
diff options
context:
space:
mode:
authorMichal Krol <michal@tungstengraphics.com>2008-11-19 20:31:38 +0100
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-11-20 23:01:53 +0900
commit79bfe372f2bfa633c457e82a3e37f3eb42af4b5b (patch)
tree9009e6ea6169246838afc62c4bcb4f16c2e9c066 /scons
parent15b92b09e0f066a9d38c445b80b33193a8d9ea14 (diff)
scons: Fix toolchain selection.
Diffstat (limited to 'scons')
-rw-r--r--scons/gallium.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index 4622903edd..59ec6eccf8 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