summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2011-01-10 21:04:50 (GMT)
committerPierre Joye <pajoye@php.net>2011-01-10 21:04:50 (GMT)
commitf9c61024a516c65b0cf3e79836eaa5efd0a27e41 (patch)
treee0c72aeb9bc2a8549636e3b6670db95cc430087f /win32
parent934e8d134c825d7b865db0cef9f36e6fdba80984 (diff)
downloadphp-f9c61024a516c65b0cf3e79836eaa5efd0a27e41.tar.gz
- do not enable analyzer for snapshot
Diffstat (limited to 'win32')
-rw-r--r--win32/build/config.w325
1 files changed, 3 insertions, 2 deletions
diff --git a/win32/build/config.w32 b/win32/build/config.w32
index 7ef78ed..79985bd 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 ");
}