You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ca...@apache.org on 2005/08/11 15:04:52 UTC
svn commit: r231440 - /xerces/c/branches/xerces-2.7/samples/runConfigure
Author: cargilld
Date: Thu Aug 11 06:04:49 2005
New Revision: 231440
URL: http://svn.apache.org/viewcvs?rev=231440&view=rev
Log:
Specify -DNDEBUG for release builds.
Modified:
xerces/c/branches/xerces-2.7/samples/runConfigure
Modified: xerces/c/branches/xerces-2.7/samples/runConfigure
URL: http://svn.apache.org/viewcvs/xerces/c/branches/xerces-2.7/samples/runConfigure?rev=231440&r1=231439&r2=231440&view=diff
==============================================================================
--- xerces/c/branches/xerces-2.7/samples/runConfigure (original)
+++ xerces/c/branches/xerces-2.7/samples/runConfigure Thu Aug 11 06:04:49 2005
@@ -210,15 +210,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: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org