global optimize flags
Pawel Sikora
pluto at pld-linux.org
Thu Apr 21 08:52:58 CEST 2005
On Thursday 21 of April 2005 08:46, 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?
# cat ~/.rpmmacros
%rpmcflags %optflags %{?debug:%{debugcflags}}%{debuginfocflags} -pipe
# PaX: -Wa,--noexecstack
#rpmldflags -z combreloc
%_with_foo 1
%_without_bar 1
(...)
--
/* Copyright (C) 2003, SCO, Inc. This is valuable Intellectual Property. */
#define say(x) lie(x)
More information about the pld-devel-en
mailing list