Gentoo Archives: gentoo-amd64

From: Peter Humphrey <prh@××××××××××.uk>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Re: vectorization
Date: Mon, 25 Sep 2006 12:52:50
Message-Id: 200609251249.16878.prh@gotadsl.co.uk
In Reply to: Re: [gentoo-amd64] Re: vectorization by Simon Stelling
1 On Sunday 24 September 2006 22:53, Simon Stelling wrote:
2
3 > per package env vars are supported through the base profile.bashrc. You
4 > don't have to clutter /etc/portage/bashrc, you can just do e.g.
5 >
6 > cat > /etc/portage/env/app-foo/bar << EOF
7 > CFLAGS="-O -march=k8 -pipe"
8 > CXXFLAGS="${CFLAGS}"
9 > EOF
10 >
11 > And it will set C(XX)FLAGS for app-foo/bar based on that.
12 > /etc/portage/env/app-foo/bar-1.0 and /etc/portage/env/app-foo/bar-1.0-r1
13 > would also work.
14
15 Impressive! One question: will the flags set here override those in
16 portage's environment, or supplement them? In other words, can I switch
17 flags off this way, or only on?
18
19 --
20 Rgds
21 Peter
22 --
23 gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] Re: vectorization Simon Stelling <blubb@g.o>