Skip to content

Commit ba8ee17

Browse files
bzoztargos
authored andcommitted
win, build: fix building on 32-bit machines
Fixes: #21402 PR-URL: #21437 Fixes: #21402 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent 54227ee commit ba8ee17

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

vcbuild.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,8 @@ if _%PROCESSOR_ARCHITEW6432%_==_AMD64_ set msvs_host_arch=amd64
203203
set vcvarsall_arg=%msvs_host_arch%_%target_arch%
204204
@rem unless both host and target are x64
205205
if %target_arch%==x64 if %msvs_host_arch%==amd64 set vcvarsall_arg=amd64
206+
@rem also if both are x86
207+
if %target_arch%==x86 if %msvs_host_arch%==x86 set vcvarsall_arg=x86
206208

207209
@rem Look for Visual Studio 2017
208210
:vs-set-2017

0 commit comments

Comments
 (0)