diff --git a/vcbuild.bat b/vcbuild.bat index 595f8dd6c99941..8f135871ba838f 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -203,6 +203,8 @@ if _%PROCESSOR_ARCHITEW6432%_==_AMD64_ set msvs_host_arch=amd64 set vcvarsall_arg=%msvs_host_arch%_%target_arch% @rem unless both host and target are x64 if %target_arch%==x64 if %msvs_host_arch%==amd64 set vcvarsall_arg=amd64 +@rem also if both are x86 +if %target_arch%==x86 if %msvs_host_arch%==x86 set vcvarsall_arg=x86 @rem Look for Visual Studio 2017 :vs-set-2017