mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
x86 builds on Windows are warning level 1 clean (GH-16170)
The only issue that was left was due to the old build of net-snmp 5.7.3; since updating to net-snmp 5.9.4, this is resolved. The patch has originally been provided by @mvorisek.
This commit is contained in:
parent
2f09c0ed0f
commit
fbfc89944d
1 changed files with 1 additions and 6 deletions
7
.github/scripts/windows/build_task.bat
vendored
7
.github/scripts/windows/build_task.bat
vendored
|
@ -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 ^
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue