From 86c8a87283d1624bec940e0b6a2b2666e6178bf5 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Wed, 3 Dec 2003 01:10:03 +0000 Subject: [PATCH] avoid vs.net specific option for now --- win32/build/config.w32 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/win32/build/config.w32 b/win32/build/config.w32 index d1c92e5603..89b31e1e6c 100644 --- a/win32/build/config.w32 +++ b/win32/build/config.w32 @@ -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"); } -- 2.40.0