- add configure option to enable the builtin static analyzer (will be enabled for snaps' log)

This commit is contained in:
Pierre Joye 2011-01-09 21:38:46 +00:00
parent 478e5d1dd0
commit eda798fd7a

View file

@ -411,3 +411,8 @@ ARG_ENABLE("security-flags", "Enable the compiler security flags", "yes");
if (PHP_SECURITY_FLAGS == "yes") { if (PHP_SECURITY_FLAGS == "yes") {
ADD_FLAG("LDFLAGS", "/NXCOMPAT /DYNAMICBASE "); 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 ");
}