Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] fix binary debug support, part elevenity billion
Date: Wed, 25 Jan 2006 01:07:19
Message-Id: 200601242004.24627.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] fix binary debug support, part elevenity billion by Donnie Berkholz
1 On Tuesday 24 January 2006 17:56, Donnie Berkholz wrote:
2 > Mike Frysinger wrote:
3 > > - we add an emerge flag (say '--debug-build') which adds "nostrip" to
4 > > FEATURES and auto sets CFLAGS to DEBUG_CFLAGS and LDFLAGS to
5 > > DEBUG_LDFLAGS - portage will add sane debug defaults to make.globals
6 > > (DEBUG_CFLAGS="-O -g" and DEBUG_LDFLAGS="")
7 >
8 > I'm having a tough time finding this in the thread -- how can I ensure a
9 > certain group of packages are always built with debugging, if I don't
10 > want my whole box built that way?
11
12 that would require per-package env:
13 http://bugs.gentoo.org/show_bug.cgi?id=44796
14
15 at which point you would just add 'FEATURES=debug-build' to whatever packages
16 you want
17 -mike
18 --
19 gentoo-dev@g.o mailing list