diff options
Diffstat (limited to 'src/engine/SCons/Environment.py')
| -rw-r--r-- | src/engine/SCons/Environment.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/engine/SCons/Environment.py b/src/engine/SCons/Environment.py index 37182c4..e3d29eb 100644 --- a/src/engine/SCons/Environment.py +++ b/src/engine/SCons/Environment.py @@ -191,6 +191,7 @@ class Environment: if SCons.Util.is_String(platform): platform = SCons.Platform.Platform(platform) + self._dict['PLATFORM'] = str(platform) platform(self) # Apply the passed-in variables before calling the tools, @@ -207,7 +208,7 @@ class Environment: for tool in tools: if SCons.Util.is_String(tool): tool = SCons.Tool.Tool(tool) - tool(self, platform) + tool(self) # Reapply the passed in variables after calling the tools, # since they should overide anything set by the tools: |
