Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Cc: Ryan Hill <dirtyepic@g.o>
Subject: Re: [gentoo-dev] Re: [gentoo-dev-announce] debug USE flag misuse
Date: Fri, 02 Jul 2010 21:19:31
In Reply to: [gentoo-dev] Re: [gentoo-dev-announce] debug USE flag misuse by Ryan Hill
On Friday, July 02, 2010 16:39:57 Ryan Hill wrote:
> On Fri, 2 Jul 2010 15:29:44 +0200 (CEST) Vaeth wrote: > > Ryan Hill wrote: > > > If your build system sets -ffast-math or -fstrict-aliasing > > > then the user can disable this by setting -fno-fast-math > > > or -fno-strict-aliasing in their CFLAGS. > > > > Just because some flags have "counter"-flags by accident, > > this does not hold for all flags. It is more reasonable to have > > other means that the flags are not modified in the first place. > > I can't think of any flags that don't have a corresponding counter flag, > other than -m flags. At least, all -f and -W flags have opposite -fno and > -Wno versions, even if they're not explicitly documented.
and this isnt "by accident", this is in the fundamental design of gcc argument processing. the only -f/-W flags that lack this are rare exceptions. -mike


File name MIME type
signature.asc application/pgp-signature