aboutsummaryrefslogtreecommitdiffstats
path: root/msvc-build-launcher.cmd
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2013-05-09 15:23:44 +0100
committerJason R. Coombs <jaraco@jaraco.com>2013-05-09 15:23:44 +0100
commit23e024076a9902aa8aeedd9947c0fa5a4e5408f4 (patch)
treea02975159e586f9698c723973e10d73a58d10550 /msvc-build-launcher.cmd
parentc92962cb8abb9fe1897f87cc7b3fa9afd5bd7677 (diff)
downloadexternal_python_setuptools-23e024076a9902aa8aeedd9947c0fa5a4e5408f4.tar.gz
external_python_setuptools-23e024076a9902aa8aeedd9947c0fa5a4e5408f4.tar.bz2
external_python_setuptools-23e024076a9902aa8aeedd9947c0fa5a4e5408f4.zip
Use x64 cross tools for building 64-bit launcher. I'm suspicious the only impact this will have is to enable building 64-bit launcher on 32-bit hosts. Also rebuilt launchers.
--HG-- branch : distribute extra : rebase_source : 329591eb07b9d25717caee614012c8278926559d
Diffstat (limited to 'msvc-build-launcher.cmd')
-rw-r--r--msvc-build-launcher.cmd3
1 files changed, 2 insertions, 1 deletions
diff --git a/msvc-build-launcher.cmd b/msvc-build-launcher.cmd
index 6097aaf8..07c474d4 100644
--- a/msvc-build-launcher.cmd
+++ b/msvc-build-launcher.cmd
@@ -20,7 +20,8 @@ if "%ERRORLEVEL%"=="0" (
)
REM now for 64-bit
-call VCVARS64
+REM Use the x86_amd64 profile, which is the 32-bit cross compiler for amd64
+call VCVARSx86_amd64
if "%ERRORLEVEL%"=="0" (
cl /D "GUI=0" /D "WIN32_LEAN_AND_MEAN" launcher.c /O2 /link /MACHINE:x64 /SUBSYSTEM:CONSOLE /out:setuptools/cli-64.exe
cl /D "GUI=1" /D "WIN32_LEAN_AND_MEAN" launcher.c /O2 /link /MACHINE:x64 /SUBSYSTEM:WINDOWS /out:setuptools/gui-64.exe