summaryrefslogtreecommitdiffstats
path: root/scons/gallium.py
diff options
context:
space:
mode:
authorMichal Krol <michal@tungstengraphics.com>2008-11-19 20:31:38 +0100
committerMichal Krol <michal@tungstengraphics.com>2008-11-19 20:31:38 +0100
commit4f3dcf3864c3cbd8a6ebc6af38e53d57e4d421d6 (patch)
treee80fe2708c9a81f8cb7ba90537c4104d0f652408 /scons/gallium.py
parent205e0e3e38b99c2fb0298755d99a38f111f0b96f (diff)
downloadexternal_mesa3d-4f3dcf3864c3cbd8a6ebc6af38e53d57e4d421d6.zip
external_mesa3d-4f3dcf3864c3cbd8a6ebc6af38e53d57e4d421d6.tar.gz
external_mesa3d-4f3dcf3864c3cbd8a6ebc6af38e53d57e4d421d6.tar.bz2
scons: Fix toolchain selection.
Diffstat (limited to 'scons/gallium.py')
-rw-r--r--scons/gallium.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index f7ac5e5..14065e4 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