summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2011-01-09 21:38:46 +0000
committerPierre Joye <pajoye@php.net>2011-01-09 21:38:46 +0000
commiteda798fd7a95e098660c3fa6c356eae5afb04302 (patch)
tree4926dbe5f1ea820ed426e20bad2ab72491b75d87 /win32
parent478e5d1dd027c68fd1637add6d6ba0913969112a (diff)
downloadphp-git-eda798fd7a95e098660c3fa6c356eae5afb04302.tar.gz
- add configure option to enable the builtin static analyzer (will be enabled for snaps' log)
Diffstat (limited to 'win32')
-rw-r--r--win32/build/config.w325
1 files changed, 5 insertions, 0 deletions
diff --git a/win32/build/config.w32 b/win32/build/config.w32
index 4c9103b9d5..7ef78eda71 100644
--- a/win32/build/config.w32
+++ b/win32/build/config.w32
@@ -411,3 +411,8 @@ 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 ");
+}