Charles Plessy <[email protected]> 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 ([email protected])               <http://www.eyrie.org/~eagle/>



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to