Red Hat Bugzilla – Bug 109197
Source RPM ignores $RPM_OPT_FLAGS
Last modified: 2007-04-18 12:59:10 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)
Description of problem:
When you attempt to build a package from the source RPM, pinfo
completely neglects RPM_OPT_FLAGS. A sed mod or appended CFLAGS may
be required to get it to quit overriding the flags.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. see description
Damn.. that was obvious..
There is a line that says:
which should probably say
export CFLAGS="$RPM_OPT_FLAGS -ggdb"
I have compiled a binary package with no problems.
Thanks, I've added this to 0.6.8-3 in rawhide.