Skip to content

Commit 20de58f

Browse files
committed
Drop deprecated /Gm compile option
The `/Gm` option of `cl` is deprecated[1], and `cl` claims that it will be removed in the future, so we're dropping it right away. [1] <https://docs.microsoft.com/en-us/cpp/build/reference/gm-enable-minimal-rebuild?view=vs-2017>
1 parent 54a2b42 commit 20de58f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

win32/build/confutils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3194,7 +3194,7 @@ function toolset_setup_common_libs()
31943194
function toolset_setup_build_mode()
31953195
{
31963196
if (PHP_DEBUG == "yes") {
3197-
ADD_FLAG("CFLAGS", "/LDd /MDd /W3 /Gm /Od /D _DEBUG /D ZEND_DEBUG=1 " +
3197+
ADD_FLAG("CFLAGS", "/LDd /MDd /W3 /Od /D _DEBUG /D ZEND_DEBUG=1 " +
31983198
(X64?"/Zi":"/ZI"));
31993199
ADD_FLAG("LDFLAGS", "/debug");
32003200
// Avoid problems when linking to release libraries that use the release

0 commit comments

Comments
 (0)