Red Hat Bugzilla – Bug 848932
wso2-wsf-cpp doesn't use RPM_OPT_FLAGS, and debuginfo package is broken
Last modified: 2016-11-07 22:46:33 EST
The omission of $RPM_OPT_FLAGS from CFLAGS in this package results in some source files being omitted from debuginfo, and some of the shared objects lacking correct info. The fix is essentially:
-export CFLAGS="-O2 -D_FORTIFY_SOURCE=2"
+export CFLAGS="-O2 -D_FORTIFY_SOURCE=2 $RPM_OPT_FLAGS"
Fixed in Fedora 18