Simon Stelling <[EMAIL PROTECTED]> posted [EMAIL PROTECTED],
excerpted below, on  Mon, 25 Sep 2006 00:53:32 +0200:

> per package env vars are supported through the base profile.bashrc. You
> don't have to clutter /etc/portage/bashrc, you can just do e.g.
> 
> cat > /etc/portage/env/app-foo/bar << EOF
> CFLAGS="-O -march=k8 -pipe"
> CXXFLAGS="${CFLAGS}"
> EOF
> 
> And it will set C(XX)FLAGS for app-foo/bar based on that.
> /etc/portage/env/app-foo/bar-1.0 and /etc/portage/env/app-foo/bar-1.0-r1
> would also work.

Wow!  I knew that had been talked about, but had no idea it had been
actually deployed in the tree. =8^)  A new toy to play with! =8^)

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

-- 
[email protected] mailing list

Reply via email to