Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/scripts/windows/build_task.bat
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ cmd /c configure.bat ^
--without-analyzer ^
--enable-object-out-dir=%PHP_BUILD_OBJ_DIR% ^
--with-php-build=%DEPS_DIR% ^
--enable-sanitizer ^
%ADD_CONF% ^
--disable-test-ini
if %errorlevel% neq 0 exit /b 3
Expand Down
4 changes: 4 additions & 0 deletions win32/build/confutils.js
Original file line number Diff line number Diff line change
Expand Up @@ -3264,6 +3264,10 @@ function toolset_setup_common_cflags()
ADD_FLAG('CFLAGS', ' /wd4996 ');
}

if (PHP_SANITIZER == "yes") {
ADD_FLAG('CFLAGS', ' /fsanitize=address /wd5072 ');
}

if (PHP_DEBUG == "yes") {
// Set some debug/release specific options
ADD_FLAG('CFLAGS', ' /RTC1 ');
Expand Down