From: Michal Krol Date: Wed, 19 Nov 2008 19:31:38 +0000 (+0100) Subject: scons: Fix toolchain selection. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4f3dcf3864c3cbd8a6ebc6af38e53d57e4d421d6;p=mesa.git scons: Fix toolchain selection. --- diff --git a/scons/gallium.py b/scons/gallium.py index f7ac5e543e3..14065e40c02 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