From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QvkwB-0006pl-Um for garchives@archives.gentoo.org; Tue, 23 Aug 2011 06:58:16 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2C26A21C146; Tue, 23 Aug 2011 06:58:06 +0000 (UTC) Received: from mail-pz0-f42.google.com (mail-pz0-f42.google.com [209.85.210.42]) by pigeon.gentoo.org (Postfix) with ESMTP id 3E18121C113 for ; Tue, 23 Aug 2011 06:57:06 +0000 (UTC) Received: by pzk37 with SMTP id 37so9901894pzk.1 for ; Mon, 22 Aug 2011 23:57:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:organization:user-agent:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=Nuw8GSvS9Qoi7ScGekMNkbvfYhIOpSCy6+TKma4Pw0Y=; b=HZIEiREtr9+eR2Qf+yy+ca6x37xWMiek5p2fTirgnum4afImOgNpn31r9keDrL0vMi W13T3uAvxDI0OeLBYuyXn1wFaqNhvPjEIhLI5J5bVHGmzWmrMgpAk5pb9Un0acNXumVv AkJZ/b9JZupjs73Seo2ermx0P056O1dWJBE2c= Received: by 10.142.126.18 with SMTP id y18mr1928317wfc.101.1314082626426; Mon, 22 Aug 2011 23:57:06 -0700 (PDT) Received: from powerslave.localnet (triband-mum-59.182.101.128.mtnl.net.in [59.182.101.128]) by mx.google.com with ESMTPS id l7sm47081pbh.58.2011.08.22.23.57.03 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 22 Aug 2011 23:57:05 -0700 (PDT) From: Yohan Pereira To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Per-package splitdebug FEATURE Date: Tue, 23 Aug 2011 12:26:43 +0530 Message-ID: <3041466.l8PhFz8A7J@powerslave> Organization: Leysa User-Agent: KMail/4.7.0 (Linux/3.0.0-gentoo; KDE/4.7.0; x86_64; ; ) In-Reply-To: References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="nextPart6324338.4E2NUoUm8m" Content-Transfer-Encoding: 7Bit X-Archives-Salt: X-Archives-Hash: 6407b5cdcc32a3488bd0de446f39414e --nextPart6324338.4E2NUoUm8m Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Tuesday 23 Aug 2011 03:17:41 Leonardo Guilherme wrote: > I wonder if there's a way to active features to some specific > packages, just like USE flags. Yes i think you can use /etc/portage/env for something like this for eg if you want to enable it for amarok create a file /etc/portage/env/media-sound/amarok with the contents CFLAGS="-march=core2 -O1 -g" CXXFLAGS="${CFLAGS}" FEATURES="splitdebug" MAKEOPTS="-j3" -- - Yohan Pereira "A man can do as he will, but not will as he will" - Schopenhauer --nextPart6324338.4E2NUoUm8m Content-Transfer-Encoding: 7Bit Content-Type: text/html; charset="us-ascii"

On Tuesday 23 Aug 2011 03:17:41 Leonardo Guilherme wrote:

> I wonder if there's a way to active features to some specific

> packages, just like USE flags.

 

Yes i think you can use /etc/portage/env for something like this

for eg

if you want to enable it for amarok

create a file /etc/portage/env/media-sound/amarok

with the contents

 

CFLAGS="-march=core2 -O1 -g"

CXXFLAGS="${CFLAGS}"

 

FEATURES="splitdebug"

 

MAKEOPTS="-j3"

 

 

--

 

- Yohan Pereira

 

"A man can do as he will, but not will as he will" - Schopenhauer

--nextPart6324338.4E2NUoUm8m--