]> granicus.if.org Git - php/commitdiff
- add configure option to enable the builtin static analyzer (will be enabled for...
authorPierre Joye <pajoye@php.net>
Sun, 9 Jan 2011 21:38:46 +0000 (21:38 +0000)
committerPierre Joye <pajoye@php.net>
Sun, 9 Jan 2011 21:38:46 +0000 (21:38 +0000)
win32/build/config.w32

index 99cb09c7cbdefbe8b34360dd8bc903c98eecde72..d3cd90ae41e57133f780f1cd7ea0397bc8cc46e5 100644 (file)
@@ -407,3 +407,13 @@ if (PHP_DSP != "no") {
        }
        FSO.CreateFolder("tmp");
 }
+
+ARG_ENABLE("security-flags", "Enable the compiler security flags", "yes");
+if (PHP_SECURITY_FLAGS == "yes") {
+       ADD_FLAG("LDFLAGS", "/NXCOMPAT /DYNAMICBASE ");
+}
+
+ARG_ENABLE("static-analyze", "Enable the VC compiler static analyze", "no");
+if (PHP_STATIC_ANALYZE == "yes") {
+       ADD_FLAG("CFLAGS", " /analyze ");
+}