svn: /php/php-src/trunk/win32/build/ config.w32
| From: | Pierre Joye | Date: | Fri, 07 Jan 2011 20:50:33 +0000 |
| Subject: | svn: /php/php-src/trunk/win32/build/ config.w32 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-64305@lists.php.net to get a copy of this message | ||
pajoye Fri, 07 Jan 2011 20:50:33 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=307239
Log:
- enable ASLR and NXCOMPAT by default
Changed paths:
U php/php-src/trunk/win32/build/config.w32
Modified: php/php-src/trunk/win32/build/config.w32
===================================================================
--- php/php-src/trunk/win32/build/config.w32 2011-01-07 19:45:25 UTC (rev 307238)
+++ php/php-src/trunk/win32/build/config.w32 2011-01-07 20:50:33 UTC (rev 307239)
@@ -406,3 +406,8 @@
}
FSO.CreateFolder("tmp");
}
+
+ARG_ENABLE("security-flags", "Enable the compiler security flags",
"yes");
+if (PHP_SECURITY_FLAGS == "yes") {
+ ADD_FLAG("LDFLAGS", "/NXCOMPAT /DYNAMICBASE ");
+}