Author: cargilld
Date: Thu Aug 11 06:05:07 2005
New Revision: 231441

URL: http://svn.apache.org/viewcvs?rev=231441&view=rev
Log:
Specify -DNDEBUG for release builds.

Modified:
    xerces/c/branches/xerces-2.7/tests/runConfigure

Modified: xerces/c/branches/xerces-2.7/tests/runConfigure
URL: 
http://svn.apache.org/viewcvs/xerces/c/branches/xerces-2.7/tests/runConfigure?rev=231441&r1=231440&r2=231441&view=diff
==============================================================================
--- xerces/c/branches/xerces-2.7/tests/runConfigure (original)
+++ xerces/c/branches/xerces-2.7/tests/runConfigure Thu Aug 11 06:05:07 2005
@@ -209,15 +209,15 @@
 if test $debug = "off"; then
     echo "Debug is OFF"
     if test $platform = "os400"; then
-    debugflag="-O";
+       debugflag="-O -DNDEBUG";
     elif test $platform = "irix"; then
-       debugflag="-w -O2";
+       debugflag="-w -O2 -DNDEBUG";
     elif test $platform = "aix"; then
-       debugflag="-w -O2";
+       debugflag="-w -O2 -DNDEBUG";
        elif test $platform = "os390"; then
-       debugflag="";       
+       debugflag="-DNDEBUG";       
     else
-    debugflag="-w -O";
+       debugflag="-w -O -DNDEBUG";
     fi
 else
     echo "Debug is ON"



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to