]> granicus.if.org Git - php/commitdiff
avoid vs.net specific option for now
authorWez Furlong <wez@php.net>
Wed, 3 Dec 2003 01:10:03 +0000 (01:10 +0000)
committerWez Furlong <wez@php.net>
Wed, 3 Dec 2003 01:10:03 +0000 (01:10 +0000)
win32/build/config.w32

index d1c92e5603bbf7d1bfa3193cfcddfdc1a7c4b336..89b31e1e6c69118edf9be5ac51f8428ebac879fe 100644 (file)
@@ -54,7 +54,9 @@ if (PHP_DEBUG == "yes") {
 } else {
        // Equivalent to Release_TSInline build -> best optimization
        ADD_FLAG("CFLAGS", "/LD /MD /W3 /O2 /D NDebug /D NDEBUG \
-/D ZEND_WIN32_FORCE_INLINE /GB /GF /GS /D ZEND_DEBUG=0");
+/D ZEND_WIN32_FORCE_INLINE /GB /GF /D ZEND_DEBUG=0");
+       // if you have VS.Net /GS hardens the binary against buffer overruns
+       // ADD_FLAG("CFLAGS", "/GS");
 }
 
 if (PHP_ZTS == "yes") {
@@ -94,7 +96,7 @@ if (PHP_PHP_BUILD == "no") {
 }
 
 if (!FSO.FolderExists(PHP_PHP_BUILD)) {
-       ERROR("Could not find the php_build dir; please specify it\r\n\
+       WARNING("Could not find the php_build dir; please specify it\r\n\
 using the --with-php-build option to configure");
 }