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-- |