Red Hat Bugzilla – Bug 58313
hard-coding optimization flags in patch is obnoxious
Last modified: 2007-04-18 12:39:00 EDT
It's really obnoxious to hard-code build flags such as -O2 in a patch in the
source RPM instead of using RPM_OPT_FLAGS or some other standard mechanism. I'm
speaking, in particular of the lines that have "-O2" on them in
tcl-8.3.3-makecfg.patch in the current tcltk Rawhide package. Doing this amkes
it difficult for people to recompile a package with debugging enabled to track
down problems (e.g., like the expect coredump I'm working on tracking down right
The makecfg patches should be out of the next package release.
Should be fixed in tcltk-8.3.5-76 and later.
*** This bug has been marked as a duplicate of 53909 ***