From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IcZan-0007XX-EE for garchives@archives.gentoo.org; Tue, 02 Oct 2007 04:42:45 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id l924Waal003723; Tue, 2 Oct 2007 04:32:36 GMT Received: from bach.pcorp.com.au (mail.pcorp.com.au [150.101.72.21]) by robin.gentoo.org (8.14.1/8.14.0) with ESMTP id l924SIrY031471 for ; Tue, 2 Oct 2007 04:28:19 GMT Received: from localhost (localhost.pcorp.com.au [127.0.0.1]) by bach.pcorp.com.au (Postfix) with ESMTP id A222317550; Tue, 2 Oct 2007 13:58:16 +0930 (CST) X-Virus-Scanned: amavisd-new at pcorp.com.au Received: from bach.pcorp.com.au ([127.0.0.1]) by localhost (pcorp.com.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Xj3ENTMpQZDC; Tue, 2 Oct 2007 13:58:03 +0930 (CST) Received: from [172.16.0.52] (orpheus.pcorp.com.au [172.16.0.52]) by bach.pcorp.com.au (Postfix) with ESMTP id 7F8B4173E5 for ; Tue, 2 Oct 2007 13:58:02 +0930 (CST) Subject: [gentoo-user] per-ebuild compil options From: Iain Buchanan To: gentoo-user@lists.gentoo.org Content-Type: text/plain Date: Tue, 02 Oct 2007 14:04:10 +0930 Message-Id: <1191299650.8586.5.camel@orpheus> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 Content-Transfer-Encoding: 7bit X-Archives-Salt: bce7e818-85e2-4b5b-a531-28b0755eb104 X-Archives-Hash: 2f9067d28f2e5dc8e0dca1e38c735a21 Hi all, after recompiling another bunch of libraries just to "unstrip" them, I'm wondering if I can specify FEATURES and CXXOPTS (for example) on a per-ebuild basis. eg. I would always want to build glib and glibc with nostrip in the FEATURES, and -ggdb in the compile options, but all other ebuilds would be as normal. Any way I can do this without putting the ebuilds in my overlay? I know I can do it on the command line: FEATURES="blah nostrip" CFLAGS="blah -ggdb" CXXFLAGS="${CFLAGS}" sudo emerge -va1 glibc but that kind-of gets defeated during an emerge world. thanks, -- Iain Buchanan Humor in the Court: Q: ...any suggestions as to what prevented this from being a murder trial instead of an attempted murder trial? A: The victim lived. -- gentoo-user@gentoo.org mailing list