]> granicus.if.org Git - php/commitdiff
integrate /Zc:inline switch
authorAnatol Belski <ab@php.net>
Mon, 18 Jan 2016 17:05:34 +0000 (18:05 +0100)
committerAnatol Belski <ab@php.net>
Mon, 18 Jan 2016 17:32:15 +0000 (18:32 +0100)
win32/build/confutils.js

index c2852cfd43d42c7531e08be5a89fc4a7ffa16d02..a9b2e9c250300f55effd88962d2ba8c998bab4a8 100644 (file)
@@ -2644,6 +2644,9 @@ function toolset_setup_common_cflags()
                } else {
                        if (VCVERS >= 1900) {
                                ADD_FLAG('CFLAGS', "/guard:cf");
+                               if (PHP_PGI != "yes" && PHP_PGO != "yes") {
+                                       ADD_FLAG('CFLAGS', "/Zc:inline");
+                               }
                        }
                }