Red Hat Bugzilla – Bug 53909
RPM_OPT_FLAGS not used during build
Last modified: 2007-04-18 12:37:16 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):
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'
Does this cause you any problems?
The hardcoding makecfg patches are no longer being applied in
tcltk-8.3.5-76 and later. Closing this for now.
*** Bug 58313 has been marked as a duplicate of this bug. ***