Windows: Use the amd64_x86 cross-compiler with custom builds (issue #1470).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1954 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2014-12-09 12:48:17 +00:00
parent 0fbc37a2fd
commit ac81cbcdf1
1 changed files with 10 additions and 1 deletions

View File

@ -36,7 +36,7 @@ index c9cf226..0dedbe3 100755
archs = [] archs = []
diff --git toolchain/win/setup_toolchain.py toolchain/win/setup_toolchain.py diff --git toolchain/win/setup_toolchain.py toolchain/win/setup_toolchain.py
index 5e292ab..70ad093 100644 index 5e292ab..92ea3f4 100644
--- toolchain/win/setup_toolchain.py --- toolchain/win/setup_toolchain.py
+++ toolchain/win/setup_toolchain.py +++ toolchain/win/setup_toolchain.py
@@ -25,6 +25,8 @@ def ExtractImportantEnvironment(): @@ -25,6 +25,8 @@ def ExtractImportantEnvironment():
@ -48,3 +48,12 @@ index 5e292ab..70ad093 100644
'path', 'path',
'pathext', 'pathext',
'systemroot', 'systemroot',
@@ -90,7 +92,7 @@ important_env_vars = ExtractImportantEnvironment()
path = important_env_vars["PATH"].split(";")
# Add 32-bit compiler path to the beginning and write the block.
-path32 = [os.path.join(vs_path, "VC\\BIN")] + \
+path32 = [os.path.join(vs_path, "VC\\BIN\\amd64_x86")] + \
[os.path.join(win_sdk_path, "bin\\x86")] + \
path
important_env_vars["PATH"] = ";".join(path32)