From 85baaa560ac1b3e08d8d0d5169122334125739e2 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Wed, 21 May 2014 18:18:29 -0400 Subject: [PATCH] WINBUILD: Fix according to VS 2010 product tree changes. --- win_build/buildenv.cmd | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/win_build/buildenv.cmd b/win_build/buildenv.cmd index f58c6c8a2d..a98a366f2a 100644 --- a/win_build/buildenv.cmd +++ b/win_build/buildenv.cmd @@ -153,10 +153,11 @@ IF /I NOT "%PROCESSOR_ARCHITECTURE%"=="%BUILDPLATFORM%" GOTO :BUILDENVCROSS rem Building a native binary for the current platform. :BUILDENVNATIVE -IF /I NOT "%BUILDPLATFORM%"=="x86" ( - CALL "%VCINSTALLDIR%\bin\%PROCESSOR_ARCHITECTURE%\vcvars%PROCESSOR_ARCHITECTURE%.bat" > NUL: 2> NUL: +IF /I "%BUILDPLATFORM%"=="amd64" ( + CALL "%VCINSTALLDIR%\bin\%PROCESSOR_ARCHITECTURE%\vcvars64.bat" > NUL: 2> NUL: IF ERRORLEVEL 1 GOTO :BUILDENVFAILURE -) ELSE ( +) +IF /I "%BUILDPLATFORM%"=="x86" ( CALL "%VCINSTALLDIR%\bin\vcvars32.bat" > NUL: 2> NUL: IF ERRORLEVEL 1 GOTO :BUILDENVFAILURE )