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=79bfe372f2bfa633c457e82a3e37f3eb42af4b5b;p=mesa.git scons: Fix toolchain selection. --- 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