fmk Mon Nov 21 19:29:34 2005 EDT Modified files: /php-src/win32/build config.w32 Log: /Gz and /RTC1 is for debug builds http://cvs.php.net/diff.php/php-src/win32/build/config.w32?r1=1.50&r2=1.51&ty=u Index: php-src/win32/build/config.w32 diff -u php-src/win32/build/config.w32:1.50 php-src/win32/build/config.w32:1.51 --- php-src/win32/build/config.w32:1.50 Sun Nov 20 12:03:58 2005 +++ php-src/win32/build/config.w32 Mon Nov 21 19:29:30 2005 @@ -1,5 +1,5 @@ // vim:ft=javascript -// $Id: config.w32,v 1.50 2005/11/20 17:03:58 sebastian Exp $ +// $Id: config.w32,v 1.51 2005/11/22 00:29:30 fmk Exp $ // "Master" config file; think of it as a configure.in // equivalent. @@ -88,8 +88,10 @@ // Enable automatic precompiled headers ADD_FLAG('CFLAGS', ' /YX '); - // Set some debug/release specific options - ADD_FLAG('CFLAGS', ' /GZ '); + if (PHP_DEBUG == "yes") { + // Set some debug/release specific options + ADD_FLAG('CFLAGS', ' /GZ '); + } } if (VCVERS >= 14) { @@ -97,8 +99,10 @@ // disable annoying warnings ADD_FLAG('CFLAGS', ' /wd4996 '); - // Set some debug/release specific options - ADD_FLAG('CFLAGS', ' /RTC1 '); + if (PHP_DEBUG == "yes") { + // Set some debug/release specific options + ADD_FLAG('CFLAGS', ' /RTC1 '); + } } // General link flags
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php