Bug 249974

Summary: cjet: $RPM_OPT_FLAGS not used
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: cjetAssignee: Lubomir Rintel <lkundrak>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideKeywords: Reopened
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: cjet-0.8.9-4.fc8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-08-03 16:28:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ville Skyttä 2007-07-28 20:24:38 UTC
cjet isn't built with $RPM_OPT_FLAGS.

Fix: make %{?_smp_mflags} OPT="%{optflags}"

Comment 1 Lubomir Kundrak 2007-08-03 08:10:51 UTC
Thanks for the report.

cjet-0.8.9-2.fc8 should have fixed this. Should you disagree with the change
or have any further comments, please reopen the bug.

Comment 2 Ville Skyttä 2007-08-03 16:14:34 UTC
Not fixed; now it's built without any CFLAGS at all, see
http://koji.fedoraproject.org/koji/getfile?taskID=87198&name=build.log

A fix for 0.8.9-3 would be:
make %{?_smp_mflags} CFLAGS="%{optflags}"

Comment 3 Lubomir Kundrak 2007-08-03 16:28:35 UTC
Oh, pardon me. I have a local modification of CFLAGS which I have forotten about
and thus had an impression, that CFLAGS get populated with optflags automatically.

Thanks for the report, applying your fix.