Gentoo Archives: gentoo-dev

From: Dan Armak <danarmak@g.o>
To: gentoo-dev@××××××××××.org
Subject: [gentoo-dev] Debug and strip control, USE flags/$DEBUG
Date: Sat, 25 Aug 2001 06:02:13
1 Hi all,
3 The adding of USE flags is currently unregulated, so I thought I'd post to
4 get a consensus.
6 Current status: a few ebuilds use env. var. $DEBUG, not explicitly set
7 anywhere in gentoo config files, to enable debugging. The portage system uses
8 it to disable automatic binary stripping. The flag is nowhere mentioned in
9 gentoo docs (AFAIK), a user would have to know about it to enable debugging.
11 Suggestion: 1. make a $STRIP variable for portage instead. On by default. Set
12 from make.* so the user can see it.
13 2. make a USE variable "debug", off by default, for all ebuilds to use.
15 Note: Right now there are several USE flags which don't have to do with
16 packages: 3dnow mmx sse build final and maybe some other I missed. Hallski
17 says adding of USE vars should be regulated somehow, I agree.
19 Ideas? comments?
20 --
22 Dan Armak
23 Gentoo Linux Developer, Desktop Team
24 Matan, Israel


Subject Author
Re: [gentoo-dev] Debug and strip control, USE flags/$DEBUG Mikael Hallendal <hallski@g.o>