Re: cflags for building from src.rpm

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

 



Yes, I've done this, but what can I put to macros for
%_archÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ ?

It works when I set __global_cflags on last /usr/lib/rpm/redhat/macros
to $CFLAGS.

michal


Alexander Dalloz wrote:
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


  


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

  Powered by Linux