Gentoo Archives: gentoo-dev

From: Alec Warner <antarus@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [gentoo-dev-announce] debug USE flag misuse
Date: Thu, 01 Jul 2010 20:21:43
In Reply to: [gentoo-dev] Re: [gentoo-dev-announce] debug USE flag misuse by Nikos Chantziaras
On Thu, Jul 1, 2010 at 1:04 PM, Nikos Chantziaras <realnc@×××××.de> wrote:
> On 07/01/2010 11:00 PM, Ryan Hill wrote: >> >> [...] >> The way to control compiler flags in Gentoo is CFLAGS. > > That is true.  However, there's a problem; you can control package options > of individual packages with USE flags, but you can't control compilation > switches of individual packages with CFLAGS.  This will naturally make > people feel like using USE flags to modify compilation options is a good > idea.
If you use portage than you can control per-package CFLAGS using bashrc and /etc/portage/env or similar functionality. I am unsure if other package managers support this behavior or not. -A
> > Surely, one has to sympathize with this mindset even though it's a wrong > thing to do. > > >