fmk             Mon Nov 21 19:29:56 2005 EDT

  Modified files:              (Branch: PHP_5_1)
    /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.40.2.3&r2=1.40.2.4&ty=u
Index: php-src/win32/build/config.w32
diff -u php-src/win32/build/config.w32:1.40.2.3 
php-src/win32/build/config.w32:1.40.2.4
--- php-src/win32/build/config.w32:1.40.2.3     Sun Nov 20 12:03:14 2005
+++ php-src/win32/build/config.w32      Mon Nov 21 19:29:56 2005
@@ -1,5 +1,5 @@
 // vim:ft=javascript
-// $Id: config.w32,v 1.40.2.3 2005/11/20 17:03:14 sebastian Exp $
+// $Id: config.w32,v 1.40.2.4 2005/11/22 00:29:56 fmk Exp $
 // "Master" config file; think of it as a configure.in
 // equivalent.
 
@@ -89,8 +89,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) {
@@ -98,8 +100,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

Reply via email to