From: Anatol Belski Date: Thu, 8 Mar 2018 10:38:02 +0000 (+0100) Subject: Disable PGO for phpdbg X-Git-Tag: php-7.2.4RC1~21^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=34b9f9dedf78a01844074d595e483371a28dfdd3;p=php 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. --- diff --git a/sapi/phpdbg/config.w32 b/sapi/phpdbg/config.w32 index 2d907ee697..e69ca455f7 100644 --- a/sapi/phpdbg/config.w32 +++ b/sapi/phpdbg/config.w32 @@ -11,6 +11,10 @@ PHPDBG_DLL='php' + PHP_VERSION + 'phpdbg.dll'; PHPDBG_EXE='phpdbg.exe'; PHPDBG_CFLAGS='/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1'; +var PHP_PHPDBG_PGO = false; +var PHP_PHPDBG_WEBHELPER_PGO = false; +var PHP_PHPDBGS_PGO = false; + if (PHP_PHPDBG == "yes") { SAPI('phpdbg', PHPDBG_SOURCES, PHPDBG_EXE, PHPDBG_CFLAGS); ADD_FLAG("LIBS_PHPDBG", "ws2_32.lib user32.lib");