Charles Plessy <ple...@debian.org> writes:

> By the way, I read in the paragraph describing noopt:

>   For C programs, it is best to add -O0 to CFLAGS (although this is
>   usually the default).

> Isn't that a bit outdated ?  I see -O2 or superior in most of my
> packages.

This is specifically in the context of implementing the noopt build
option.  -O0 explicitly disables gcc optimization.  However, gcc does not
optimize by default, so omitting the flag entirely also works.  That's the
point of the parenthetical.

-- 
Russ Allbery (r...@debian.org)               <http://www.eyrie.org/~eagle/>



-- 
To UNSUBSCRIBE, email to debian-policy-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/8762frwfia....@windlord.stanford.edu

Reply via email to