Skip to content

Commit

Permalink
integrate the /Gw compiler switch
Browse files Browse the repository at this point in the history
  • Loading branch information
weltling committed Jan 18, 2016
1 parent cce370d commit 5e73db9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions win32/build/confutils.js
Original file line number Diff line number Diff line change
Expand Up @@ -2649,6 +2649,10 @@ function toolset_setup_common_cflags()
if (PHP_PGI != "yes" && PHP_PGO != "yes") {
ADD_FLAG('CFLAGS', "/Zc:inline");
}
/* We enable /opt:icf only with the debug pack, so /Gw only makes sense there, too. */
if (PHP_DEBUG_PACK == "yes") {
ADD_FLAG('CFLAGS', "/Gw");
}
}
}

Expand Down

0 comments on commit 5e73db9

Please sign in to comment.