Bug#613046: debian-policy: please update example in 4.9.1 (debian/rules and DEB_BUILD_OPTIONS)
Charles Plessy <email@example.com> 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
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 (firstname.lastname@example.org) <http://www.eyrie.org/~eagle/>