Skip to content

Commit 189aa66

Browse files
TreeHunter9Artyom Ivanov
andauthored
fix(windows build): Use correct variable to specify target architecture when calling vcvarsall.bat (#8765)
Co-authored-by: Artyom Ivanov <artyom.ivanov@red-soft.ru>
1 parent a768d30 commit 189aa66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builds/win32/setenvvar.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@
8383
:: Run vsvarsall just once during the build...
8484
@if DEFINED FB_VSCOMNTOOLS (
8585
@if not defined VCToolsVersion (
86-
call "%FB_VSCOMNTOOLS%\..\..\VC\Auxiliary\Build\vcvarsall.bat" %PROCESSOR_ARCHITECTURE%
86+
call "%FB_VSCOMNTOOLS%\..\..\VC\Auxiliary\Build\vcvarsall.bat" %FB_PROCESSOR_ARCHITECTURE%
8787
) else (
8888
@echo The file:
89-
@echo "%FB_VSCOMNTOOLS%\..\..\VC\Auxiliary\Build\vcvarsall.bat" %PROCESSOR_ARCHITECTURE%
89+
@echo "%FB_VSCOMNTOOLS%\..\..\VC\Auxiliary\Build\vcvarsall.bat" %FB_PROCESSOR_ARCHITECTURE%
9090
@echo has already been executed.
9191
)
9292
)

0 commit comments

Comments
 (0)