Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Missing piece for the inliner cache
  • Loading branch information
weltling committed Aug 3, 2018
1 parent c389fc6 commit 9d89cf9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions win32/build/confutils.js
Expand Up @@ -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");
Expand Down

0 comments on commit 9d89cf9

Please sign in to comment.