Skip to content

Commit 28ef47d

Browse files
committed
update ZIG_TARGET_MCPU for the host zig to baseline to match new zig0 rules
1 parent 5dfebd5 commit 28ef47d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ set "ROOTDIR_CMAKE=%ROOTDIR:\=/%"
3131
set ZIG_VERSION=0.11.0-dev.78+28288dcbb
3232

3333
set JOBS_ARG=
34-
set BUILD_SYSTEM_ARGS=
3534

3635
pushd %ROOTDIR%
3736

@@ -86,6 +85,7 @@ cmake "%ROOTDIR%/zig" ^
8685
-DZIG_ENABLE_ZSTD=OFF ^
8786
-DZIG_ENABLE_LIBCPP=OFF ^
8887
-DZIG_TARGET_TRIPLE=x86_64-windows-msvc ^
88+
-DZIG_TARGET_MCPU=baseline ^
8989
-DZIG_VERSION="%ZIG_VERSION%"
9090
if %ERRORLEVEL% neq 0 exit /b %ERRORLEVEL%
9191
cmake --build . %JOBS_ARG% --target install

0 commit comments

Comments
 (0)