Bug 53909 - RPM_OPT_FLAGS not used during build
RPM_OPT_FLAGS not used during build
Product: Red Hat Raw Hide
Classification: Retired
Component: tcltk (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jens Petersen
David Lawrence
: 58313 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2001-09-21 07:22 EDT by franz.sirl-kernel
Modified: 2007-04-18 12:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-10-22 23:26:58 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description franz.sirl-kernel 2001-09-21 07:22:37 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4+)

Description of problem:
Even though the correct flags are passed via configure, tcltk doesn't use
them during build.
It seems that for tcltk to use RPM_OPT_FLAGS during build, you have to
change every 'make' in the specfile to 'make CFLAGS="$RPM_OPT_FLAGS"'.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. rpm -ba tcltk.spec
2. look at the actual compile lines, you don't get the complete current
default rpm flags '-O2 -march=i686'

Additional info:
Comment 1 Jens Petersen 2002-10-22 23:25:50 EDT
Does this cause you any problems?
Comment 2 Jens Petersen 2002-12-10 02:54:41 EST
The hardcoding makecfg patches are no longer being applied in
tcltk-8.3.5-76 and later.  Closing this for now.
Comment 3 Jens Petersen 2002-12-10 20:17:29 EST
*** Bug 58313 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.