Skip to content

Commit 21c331a

Browse files
committed
utils: update build-windows-toolchain.bat for renamed parameters
1 parent d29fad8 commit 21c331a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

utils/build-windows-toolchain.bat

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ if "%TestArg:~-1%"=="," (set TestArg=%TestArg:~0,-1%) else (set TestArg= )
6969
set SkipPackagingArg=-SkipPackaging
7070
if not "%SKIP_PACKAGING%"=="1" set "SkipPackagingArg= "
7171

72-
:: Build the -WindowsSDKs argument, if any, otherwise build all the SDKs.
73-
set "WindowsSDKsArg= "
74-
if not "%WINDOWS_SDKS%"=="" set "WindowsSDKsArg=-WindowsSDKs %WINDOWS_SDKS%"
72+
:: Build the -WindowsSDKArchitectures argument, if any, otherwise build all the SDKs.
73+
set "WindowsSDKArchitecturesArg= "
74+
if not "%WINDOWS_SDKS%"=="" set "WindowsSDKArchitecturesArg=-WindowsSDKArchitectures %WINDOWS_SDKS%"
7575

7676
call :CloneRepositories || (exit /b 1)
7777

@@ -81,7 +81,7 @@ powershell.exe -ExecutionPolicy RemoteSigned -File %~dp0build.ps1 ^
8181
-BinaryCache %BuildRoot% ^
8282
-ImageRoot %BuildRoot% ^
8383
%SkipPackagingArg% ^
84-
%WindowsSDKsArg% ^
84+
%WindowsSDKArchitecturesArg% ^
8585
%TestArg% ^
8686
-Stage %PackageRoot% ^
8787
-IncludeSBoM ^

0 commit comments

Comments
 (0)