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 1IcduK-0004E9-Mr for garchives@archives.gentoo.org; Tue, 02 Oct 2007 09:19:13 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id l9297PS9015376; Tue, 2 Oct 2007 09:07:25 GMT Received: from mail.digimed.co.uk (82-69-83-178.dsl.in-addr.zen.co.uk [82.69.83.178]) by robin.gentoo.org (8.14.1/8.14.0) with ESMTP id l928us7P031018 for ; Tue, 2 Oct 2007 08:56:54 GMT Received: from zaphod.digimed.co.uk (zaphod.digimed.co.uk [192.168.1.1]) by mail.digimed.co.uk (Postfix) with ESMTP id 834943DAA for ; Tue, 2 Oct 2007 09:56:54 +0100 (BST) Date: Tue, 2 Oct 2007 09:56:50 +0100 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] per-ebuild compil options Message-ID: <20071002095650.5b09a58d@zaphod.digimed.co.uk> In-Reply-To: <1191299650.8586.5.camel@orpheus> References: <1191299650.8586.5.camel@orpheus> Organization: Digital Media Production X-Mailer: Claws Mail 3.0.1cvs49 (GTK+ 2.12.0; x86_64-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 Sender: neil@digimed.co.uk 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 Content-Type: multipart/signed; boundary="Sig_/E+h/iX5tZx=XgR00FIZBvSq"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Archives-Salt: e3beb4d9-a757-427b-9245-c93cec4bf2a4 X-Archives-Hash: 29a647091e0477d226e49a53f0494e42 --Sig_/E+h/iX5tZx=XgR00FIZBvSq Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 02 Oct 2007 14:04:10 +0930, Iain Buchanan wrote: > 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. >=20 > 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. mkdir -p /etc/portage/env.d/sys-devel echo 'FEATURES=3D"blah nostrip"' >/etc/portage/env.d/sys-devel/gcc echo 'CFLAGS=3D"blah -ggdb"' >>etc/portage/env.d/sys-devel/gcc etc. --=20 Neil Bothwick --T-A+G-L-I+N-E--+M-E-A+S-U-R+I-N-G+--G-A+U-G-E-- --Sig_/E+h/iX5tZx=XgR00FIZBvSq Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iD8DBQFHAgfVum4al0N1GQMRAjuMAJ0Uyi2/CqjZwo5pFODPCui17EjiqgCg2U5P V5yl+iz50NBLcTQ8tXaDQcw= =cwOn -----END PGP SIGNATURE----- --Sig_/E+h/iX5tZx=XgR00FIZBvSq-- -- gentoo-user@gentoo.org mailing list