Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=738556
--- Comment #14 from Richard Shaw <hobbes1069(a)gmail.com> 2012-02-09 09:04:42 EST
---
(In reply to comment #12)
I'm facing again the problem of debuginfo-without-sources in this
package. I
thought I have solved it, but today I rebuilt it in Fedora 16 and see the
problem again.
The makefile overrides the enviroment CFLAGS variable, I have modified the
makefile to compile with the RPM_OPT_FLAGS options, but the error persists.
While compiling the RPM_OPT_FLAGS are used, but the resulting binaries don't
have the debug info, maybe are there a problem in the linking?
I haven't taken a look at the source, but if it the Makefile uses a simple
CFLAGS = ... type assignment then you can easily use sed to change the "=" to
"+=" which will make it append instead of replace the CFLAGS environment
variable.
Something like:
(in %prep since this is essentially an on-the-fly patch)
sed -i 's|CFLAGS =|CFLAGS +=|g' Makefile
Richard
--
Configure bugmail:
https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.