Skip to content

Commit 34b9f9d

Browse files
committed
Disable PGO for phpdbg
For executable files, the linker seems to have issues dealing with the empty profiling database. As PGO is unlikely to bring any benefit in this case, the easiest is to disable it.
1 parent 00bfc6e commit 34b9f9d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sapi/phpdbg/config.w32

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ PHPDBG_DLL='php' + PHP_VERSION + 'phpdbg.dll';
1111
PHPDBG_EXE='phpdbg.exe';
1212
PHPDBG_CFLAGS='/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1';
1313

14+
var PHP_PHPDBG_PGO = false;
15+
var PHP_PHPDBG_WEBHELPER_PGO = false;
16+
var PHP_PHPDBGS_PGO = false;
17+
1418
if (PHP_PHPDBG == "yes") {
1519
SAPI('phpdbg', PHPDBG_SOURCES, PHPDBG_EXE, PHPDBG_CFLAGS);
1620
ADD_FLAG("LIBS_PHPDBG", "ws2_32.lib user32.lib");

0 commit comments

Comments
 (0)