cflags for building from src.rpm

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Mon Mar 8 11:54:05 UTC 2004


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






More information about the fedora-list mailing list