Re: cflags for building from src.rpm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Mo, den 08.03.2004 schrieb Michal Zeravik um 12:43:
> Hi,
> 
> how can I set custom cflags for rebuilding src.rpm?
> /usr/lib/rpm/rpmrc neither CFLAGS seems to not affecting cflags when I 
> use --target=athlon.
> 
> 
> Michal

Edit /usr/lib/rpm/athlon-linux/macros with i.e.:

%optflags               -O3 -g -pipe -fno-exceptions -funroll-loops
-fomit-frame-pointer -fno-strict-aliasing -fno-common

or what you like as CFLAGS.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2174.nptl
Sirendipity 12:53:00 up 17 days, 14:26, load average: 0.19, 0.20, 0.17 
                   [ ÎÎÏÎÎ Ï'ÎÏÏÎÎ - gnothi seauton ]
             my life is a planetarium - and you are the stars





[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux