File Xalan-c-1.10.0-optflags.patch of Package Xalan-c
--- c/runConfigure +++ c/runConfigure @@ -361,7 +361,7 @@ if test $cppcompiler = "icpc"; then debugflag="-O3 -DNDEBUG"; else - debugflag="-O2 -DNDEBUG"; + debugflag="$RPM_OPT_FLAGS -DNDEBUG"; fi else debugflag="-O -DNDEBUG";