diff options
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-26 21:45:16 +0000 |
---|---|---|
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-26 21:45:16 +0000 |
commit | 6609c50dc23378b632157d806f83b528568fa256 (patch) | |
tree | 89d7b73cd62ccef102c6f73aec0825fb91b6a3c8 /build | |
parent | dd98a4ba5e5ac099a0ce3c082d8f192026438bb7 (diff) | |
download | chromium_src-6609c50dc23378b632157d806f83b528568fa256.zip chromium_src-6609c50dc23378b632157d806f83b528568fa256.tar.gz chromium_src-6609c50dc23378b632157d806f83b528568fa256.tar.bz2 |
Force SCons to use the VC8 toolchain.
In the presence of an installed copy of the 6.1 SDK, SCons would pick up on the presence of the VC9 toolchain which tags along with it. It would proceed to populate the environment with a mismatched set of paths referring to VC9 includes and libs,
which in turn would cause the chrome base build to terminate with a LNK1103 error complaining of corrupt symbols.
Patch contributed by Siggi @ Google.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8665 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r-- | build/SConscript.main | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build/SConscript.main b/build/SConscript.main index 15865ce..f4163a3 100644 --- a/build/SConscript.main +++ b/build/SConscript.main @@ -232,6 +232,10 @@ root_env.Append(BUILD_SCONSCRIPTS = sconscripts) windows_env = root_env.Clone() +# TODO(siggi) Remove this line once SCons plays well when the +# Platform SDK 6.1 is installed with VS2005 but not VS2008. +windows_env['MSVS_VERSION'] = '8.0' + windows_env.Tool('target_platform_windows') windows_env.Tool('component_targets_msvs') # Per target project support. |