Red Hat Bugzilla – Bug 125228
RFE: move optim from make to configure stage
Last modified: 2007-11-30 17:10:44 EST
Description of problem:
The spec file for cups sets optimisation flags at make time with the line
make OPTIM="$RPM_OPT_FLAGS $CFLAGS"
Setting optimisation flags at configure time rather than at make time allows configure to add -g for debug builds and -fPIC for non-pie builds. This change should have no effect on pie builds as the pie patch removes the lines that make configure set -fPIC.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Created attachment 100849 [details]
Moves optim from make to configure
This is a patch against the spec file for cups-1.1.20-8, the latest version I
Applied in CVS. Thanks.