From: Pierre Joye <pajoye@php.net>
Date: Mon, 10 Jan 2011 21:04:50 +0000 (+0000)
Subject: - do not enable analyzer for snapshot
X-Git-Tag: php-5.4.0alpha1~191^2~388
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f9c61024a516c65b0cf3e79836eaa5efd0a27e41;p=php

- do not enable analyzer for snapshot
---

diff --git a/win32/build/config.w32 b/win32/build/config.w32
index 7ef78eda71..79985bdefb 100644
--- a/win32/build/config.w32
+++ b/win32/build/config.w32
@@ -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 ");
 }