From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1F1Z83-0000un-Du for garchives@archives.gentoo.org; Wed, 25 Jan 2006 01:07:19 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k0P15IdJ027709; Wed, 25 Jan 2006 01:05:18 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k0P1201r001163 for ; Wed, 25 Jan 2006 01:02:01 GMT Received: from localhost ([127.0.0.1] helo=home.wh0rd.org) by smtp.gentoo.org with esmtp (Exim 4.54) id 1F1Z2u-0001WR-Ja for gentoo-dev@lists.gentoo.org; Wed, 25 Jan 2006 01:02:00 +0000 Received: (qmail 3623 invoked from network); 24 Jan 2006 19:55:05 -0500 Received: from unknown (HELO vapier) (192.168.0.2) by 192.168.0.1 with SMTP; 24 Jan 2006 19:55:05 -0500 From: Mike Frysinger Organization: wh0rd.org To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] fix binary debug support, part elevenity billion Date: Tue, 24 Jan 2006 20:04:24 -0500 User-Agent: KMail/1.9 References: <200601150111.54995.vapier@gentoo.org> <43D6B09B.8020802@gentoo.org> In-Reply-To: <43D6B09B.8020802@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200601242004.24627.vapier@gentoo.org> X-Archives-Salt: 0a8fd6b3-57b2-4544-8f90-fe8e6ad7ac79 X-Archives-Hash: 8406b5a892793b6b4703e5112332a344 On Tuesday 24 January 2006 17:56, Donnie Berkholz wrote: > Mike Frysinger wrote: > > - we add an emerge flag (say '--debug-build') which adds "nostrip" to > > FEATURES and auto sets CFLAGS to DEBUG_CFLAGS and LDFLAGS to > > DEBUG_LDFLAGS - portage will add sane debug defaults to make.globals > > (DEBUG_CFLAGS="-O -g" and DEBUG_LDFLAGS="") > > I'm having a tough time finding this in the thread -- how can I ensure a > certain group of packages are always built with debugging, if I don't > want my whole box built that way? that would require per-package env: http://bugs.gentoo.org/show_bug.cgi?id=44796 at which point you would just add 'FEATURES=debug-build' to whatever packages you want -mike -- gentoo-dev@gentoo.org mailing list