diff options
author | Pierre Joye <pajoye@php.net> | 2011-01-09 21:38:46 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2011-01-09 21:38:46 +0000 |
commit | eda798fd7a95e098660c3fa6c356eae5afb04302 (patch) | |
tree | 4926dbe5f1ea820ed426e20bad2ab72491b75d87 /win32 | |
parent | 478e5d1dd027c68fd1637add6d6ba0913969112a (diff) | |
download | php-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.w32 | 5 |
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 "); +} |