global optimize flags

Jakub Bogusz qboosh at pld-linux.org
Thu Apr 21 09:57:24 CEST 2005


On Thu, Apr 21, 2005 at 09:46:56AM +0300, Elan Ruusamäe wrote:
> hi
> 
> what's the most appropriate way to setup my build environment with custom 
> CFLAGS?
> 
> i suppose i add to ~/.rpmmacros a macro. but what should it be? rpmcflags? 
> optflags? specflags_ia32?

%optflags for normal builds, %debugcflags for debug builds.

specflags* are meant for overrides in individual .specs.


-- 
Jakub Bogusz    http://cyber.cs.net.pl/~qboosh/




More information about the pld-devel-en mailing list