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 ");
+}

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to