On Sunday 24 September 2006 22:53, Simon Stelling wrote:

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

Impressive! One question: will the flags set here override those in 
portage's environment, or supplement them? In other words, can I switch 
flags off this way, or only on?

-- 
Rgds
Peter
-- 
[email protected] mailing list

Reply via email to