1 |
Simon Stelling <blubb@g.o> posted 45170C6C.7010104@g.o, |
2 |
excerpted below, on Mon, 25 Sep 2006 00:53:32 +0200: |
3 |
|
4 |
> per package env vars are supported through the base profile.bashrc. You |
5 |
> don't have to clutter /etc/portage/bashrc, you can just do e.g. |
6 |
> |
7 |
> cat > /etc/portage/env/app-foo/bar << EOF |
8 |
> CFLAGS="-O -march=k8 -pipe" |
9 |
> CXXFLAGS="${CFLAGS}" |
10 |
> EOF |
11 |
> |
12 |
> And it will set C(XX)FLAGS for app-foo/bar based on that. |
13 |
> /etc/portage/env/app-foo/bar-1.0 and /etc/portage/env/app-foo/bar-1.0-r1 |
14 |
> would also work. |
15 |
|
16 |
Wow! I knew that had been talked about, but had no idea it had been |
17 |
actually deployed in the tree. =8^) A new toy to play with! =8^) |
18 |
|
19 |
-- |
20 |
Duncan - List replies preferred. No HTML msgs. |
21 |
"Every nonfree program has a lord, a master -- |
22 |
and if you use the program, he is your master." Richard Stallman |
23 |
|
24 |
-- |
25 |
gentoo-amd64@g.o mailing list |