Gentoo Archives: gentoo-user

From: Yohan Pereira <yohan.pereira@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Per-package splitdebug FEATURE
Date: Tue, 23 Aug 2011 06:58:16
Message-Id: 3041466.l8PhFz8A7J@powerslave
In Reply to: [gentoo-user] Per-package splitdebug FEATURE by Leonardo Guilherme
1 On Tuesday 23 Aug 2011 03:17:41 Leonardo Guilherme wrote:
2 > I wonder if there's a way to active features to some specific
3 > packages, just like USE flags.
4
5 Yes i think you can use /etc/portage/env for something like this
6 for eg
7 if you want to enable it for amarok
8 create a file /etc/portage/env/media-sound/amarok
9 with the contents
10
11 CFLAGS="-march=core2 -O1 -g"
12 CXXFLAGS="${CFLAGS}"
13
14 FEATURES="splitdebug"
15
16 MAKEOPTS="-j3"
17
18
19 --
20
21 - Yohan Pereira
22
23 "A man can do as he will, but not will as he will" - Schopenhauer

Replies

Subject Author
Re: [gentoo-user] Per-package splitdebug FEATURE Leonardo Guilherme <leonardo.guilherme@×××××.com>