From f9c61024a516c65b0cf3e79836eaa5efd0a27e41 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Mon, 10 Jan 2011 21:04:50 +0000 Subject: [PATCH] - do not enable analyzer for snapshot --- win32/build/config.w32 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 "); } -- 2.40.0