Gentoo Archives: gentoo-user

From: Alex Schuster <wonko@×××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: dev-util/valgrind-3.7.0-r4 and glibc
Date: Sat, 15 Sep 2012 00:00:17
Message-Id: 20120915015812.43bfe3a2@weird.wonkology.org
In Reply to: [gentoo-user] Re: dev-util/valgrind-3.7.0-r4 and glibc by Nikos Chantziaras
1 Nikos Chantziaras writes:
2
3 > What the other posters said, except that you shouldn't add "splitdebug"
4 > in your make.conf. If you do that, it will affect all packages.
5 >
6 > What you do instead is put this text into
7 > /etc/portage/env/sys-libs/glibc (yes, it must be a text file, not a
8 > directory):
9 >
10 > CFLAGS="${CFLAGS} -g"
11 > CXXFLAGS="${CXXFLAGS} -g"
12 > FEATURES="${FEATURES} splitdebug"
13
14 Or put "sys-libs/glibc splitdebug.conf" in /etc/portage/package.env, and
15 "FEATURES=splitdebug" in /etc/portage/env/splitdebug.conf. The CFLAGS
16 change should not be necessary. And I also think that you can simply use
17 FEATURES=... instead of FEATURES="$FEATURES ..." and hope someone will
18 correct me if not.
19
20 Wonko