cflags for building from src.rpm

Elliot Lee sopwith at redhat.com
Tue Mar 16 21:06:44 UTC 2004


On Tue, 16 Mar 2004, John Thompson wrote:

> On Mon, 08 Mar 2004 12:42:17 +0100
> Michal Zeravik <michalz at olomouc.com> wrote:
> 
> > how can I set custom cflags for rebuilding src.rpm?
> > /usr/lib/rpm/rpmrc seems to not affecting cflags when I use
> > --target=athlon.

It could be that the .spec file is broken and isn't passing $RPM_OPT_FLAGS
into the Makefiles of the software being built. This sounds like a
packaging bug rather than an rpm problem.

-- Elliot





More information about the fedora-list mailing list