Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] per-ebuild compil options
Date: Tue, 02 Oct 2007 09:19:13
Message-Id: 20071002095650.5b09a58d@zaphod.digimed.co.uk
In Reply to: [gentoo-user] per-ebuild compil options by Iain Buchanan
1 On Tue, 02 Oct 2007 14:04:10 +0930, Iain Buchanan wrote:
2
3 > after recompiling another bunch of libraries just to "unstrip" them, I'm
4 > wondering if I can specify FEATURES and CXXOPTS (for example) on a
5 > per-ebuild basis.
6 >
7 > eg. I would always want to build glib and glibc with nostrip in the
8 > FEATURES, and -ggdb in the compile options, but all other ebuilds would
9 > be as normal.
10
11 mkdir -p /etc/portage/env.d/sys-devel
12 echo 'FEATURES="blah nostrip"' >/etc/portage/env.d/sys-devel/gcc
13 echo 'CFLAGS="blah -ggdb"' >>etc/portage/env.d/sys-devel/gcc
14 etc.
15
16
17 --
18 Neil Bothwick
19
20 --T-A+G-L-I+N-E--+M-E-A+S-U-R+I-N-G+--G-A+U-G-E--

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] per-ebuild compil options Iain Buchanan <iaindb@××××××××××××.au>