diff --git a/.github/scripts/windows/build_task.bat b/.github/scripts/windows/build_task.bat index e8d84b8c0bfd6..ec4ce4459d088 100644 --- a/.github/scripts/windows/build_task.bat +++ b/.github/scripts/windows/build_task.bat @@ -31,12 +31,7 @@ if %errorlevel% neq 0 exit /b 3 if "%THREAD_SAFE%" equ "0" set ADD_CONF=%ADD_CONF% --disable-zts if "%INTRINSICS%" neq "" set ADD_CONF=%ADD_CONF% --enable-native-intrinsics=%INTRINSICS% -rem Some undefined behavior is reported on 32-bit, this should be fixed -if "%PLATFORM%" == "x86" ( - set CFLAGS=/W1 -) else ( - set CFLAGS=/W1 /WX -) +set CFLAGS=/W1 /WX cmd /c configure.bat ^ --enable-snapshot-build ^