File Xerces-c-2.8.0-optflags.patch of Package Xerces-c

--- src/xercesc/runConfigure
+++ src/xercesc/runConfigure
@@ -297,9 +297,9 @@
       elif test $platform = "os390"; then
          debugflag="-DNDEBUG";         
       elif test $platform = "linux"; then
-         debugflag="-w -O2 -DNDEBUG";
+         debugflag="$RPM_OPT_FLAGS -DNDEBUG";
       else
-         debugflag="-w -O -DNDEBUG";
+         debugflag="$RPM_OPT_FLAGS -DNDEBUG";
       fi
     else
       echo "OVERRIDE FOR OS400 ON AIX"
openSUSE Build Service is sponsored by