cflags for building from src.rpm

John Thompson JohnThompson at new.rr.com
Tue Mar 16 21:03:33 UTC 2004


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.

I just do "export CFLAGS=-O2 -march=i686" before I run rpmbuild.  You can use "-march=athlon" instead.

-- 

-John (JohnThompson at new.rr.com)





More information about the users mailing list