com php-src: Missing piece for the inliner cache: win32/build/confutils.js

From: Date: Fri, 03 Aug 2018 08:20:03 +0000
Subject: com php-src: Missing piece for the inliner cache: win32/build/confutils.js
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-102794@lists.php.net to get a copy of this message
Commit: 9d89cf95d3487bcfbf8661046c58c1a3cb407cfe Author: Anatol Belski <ab@php.net> Fri, 3 Aug 2018 10:19:43 +0200 Parents: c389fc6117ce6b249dfaed11bb5c55dc6a71315d Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9d89cf95d3487bcfbf8661046c58c1a3cb407cfe Log: Missing piece for the inliner cache Changed paths: M win32/build/confutils.js Diff: diff --git a/win32/build/confutils.js b/win32/build/confutils.js index b9cf70b..4a7fa18 100644 --- a/win32/build/confutils.js +++ b/win32/build/confutils.js @@ -1469,9 +1469,15 @@ function EXTENSION(extname, file_list, shared, cflags, dllname, obj_dir) // Add compiler and link flags if PGO options are selected if (PHP_DEBUG != "yes" && PHP_PGI == "yes") { ADD_FLAG('LDFLAGS_' + EXT, "/LTCG /GENPROFILE"); + if (VCVERS >= 1914) { + ADD_FLAG('LDFLAGS_' + EXT, "/d2:-FuncCache1"); + } } else if (PHP_DEBUG != "yes" && PHP_PGO != "no") { ADD_FLAG('LDFLAGS_' + EXT, "/LTCG /USEPROFILE"); + if (VCVERS >= 1914) { + ADD_FLAG('LDFLAGS_' + EXT, "/d2:-FuncCache1"); + } } ADD_FLAG('CFLAGS_' + EXT, "/GL /O2");

« previous php.cvs (#102794) next »