]> granicus.if.org Git - php/commitdiff
- do not enable analyzer for snapshot
authorPierre Joye <pajoye@php.net>
Mon, 10 Jan 2011 21:04:50 +0000 (21:04 +0000)
committerPierre Joye <pajoye@php.net>
Mon, 10 Jan 2011 21:04:50 +0000 (21:04 +0000)
win32/build/config.w32

index 7ef78eda7142f476ef20db847d3800258f15561a..79985bdefb142d28007344eaf01e49f1e91df895 100644 (file)
@@ -363,6 +363,7 @@ PHP_INSTALL_HEADERS("", "Zend/ TSRM/ main/ main/streams/ win32/");
 
 STDOUT.WriteBlankLines(1);
 
+
 /* Can we build with IPv6 support? */
 ARG_ENABLE("ipv6", "Disable IPv6 support (default is turn it on if available)", "yes");
 
@@ -407,12 +408,12 @@ if (PHP_DSP != "no") {
        FSO.CreateFolder("tmp");
 }
 
-ARG_ENABLE("security-flags", "Enable the compiler security flags", "yes");
+ARG_ENABLE("security-flags", "Disable 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") {
+if (PHP_STATIC_ANALYZE == "yes" && PHP_SNAPSHOT_BUILD == "no") {
        ADD_FLAG("CFLAGS", " /analyze ");
 }