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
Message-Id: AANLkTilYlSJlkRY3mMAKixdzHh9nRPg5hRT37woybxVA@mail.gmail.com
In Reply to: [gentoo-dev] Re: [gentoo-dev-announce] debug USE flag misuse by Nikos Chantziaras
1 On Thu, Jul 1, 2010 at 1:04 PM, Nikos Chantziaras <realnc@×××××.de> wrote:
2 > On 07/01/2010 11:00 PM, Ryan Hill wrote:
3 >>
4 >> [...]
5 >> The way to control compiler flags in Gentoo is CFLAGS.
6 >
7 > That is true.  However, there's a problem; you can control package options
8 > of individual packages with USE flags, but you can't control compilation
9 > switches of individual packages with CFLAGS.  This will naturally make
10 > people feel like using USE flags to modify compilation options is a good
11 > idea.
12
13 If you use portage than you can control per-package CFLAGS using
14 bashrc and /etc/portage/env or similar functionality. I am unsure if
15 other package managers support this behavior or not.
16
17 -A
18
19 >
20 > Surely, one has to sympathize with this mindset even though it's a wrong
21 > thing to do.
22 >
23 >
24 >