pajoye Sun, 09 Jan 2011 21:38:46 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=307311
Log:
- add configure option to enable the builtin static analyzer (will be enabled
for snaps' log)
Changed paths:
U php/php-src/branches/PHP_5_3/win32/build/config.w32
U php/php-src/trunk/win32/build/config.w32
Modified: php/php-src/branches/PHP_5_3/win32/build/config.w32
===================================================================
--- php/php-src/branches/PHP_5_3/win32/build/config.w32 2011-01-09 20:13:40 UTC
(rev 307310)
+++ php/php-src/branches/PHP_5_3/win32/build/config.w32 2011-01-09 21:38:46 UTC
(rev 307311)
@@ -407,3 +407,13 @@
}
FSO.CreateFolder("tmp");
}
+
+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 ");
+}
Modified: php/php-src/trunk/win32/build/config.w32
===================================================================
--- php/php-src/trunk/win32/build/config.w32 2011-01-09 20:13:40 UTC (rev
307310)
+++ php/php-src/trunk/win32/build/config.w32 2011-01-09 21:38:46 UTC (rev
307311)
@@ -411,3 +411,8 @@
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 ");
+}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php