Gentoo Archives: gentoo-dev

From: Chris Gianelloni <wolf31o2@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Why arch-specific make.conf files?
Date: Wed, 16 Nov 2005 12:59:22
Message-Id: 1132145447.32133.0.camel@vertigo.twi-31o2.org
In Reply to: Re: [gentoo-dev] Why arch-specific make.conf files? by Marius Mauch
1 On Wed, 2005-11-16 at 03:30 +0100, Marius Mauch wrote:
2 > On Tue, 15 Nov 2005 14:54:01 -0500
3 > Chris Gianelloni <wolf31o2@g.o> wrote:
4 >
5 > > On Tue, 2005-11-15 at 20:26 +0100, Diego 'Flameeyes' Pettenò wrote:
6 > > > On Tuesday 15 November 2005 20:19, Marius Mauch wrote:
7 > > > > From my POV those vars should be set in the profiles instead, and
8 > > > > a quick scan shows that indeed most (maybe all? didn't count them)
9 > > > > profiles set them already, so there isn't really a point in
10 > > > > having them in make.conf too, except to make it easy for users to
11 > > > > change them
12 > > > Little note: with Gentoo/FreeBSD I tried avoiding providing CHOST
13 > > > in make.conf, as to change to non-i686 CHOST you need to rebuild
14 > > > everything, as the stage is currently i686-centric, I'm sorry of
15 > > > that, I'll try to automatize a more complete building when I'll
16 > > > have time.
17 > > >
18 > > > The problem of this is that distcc-config looks inside make.conf
19 > > > for CHOST instead of using portageq envvar CHOST, so it just
20 > > > breaks :P I think other things might do the same assumption of
21 > > > finding CHOST in make.conf, and beside being plainly wrong, I'm not
22 > > > sure if I want to break everything ;)
23 > >
24 > > CHOST doesn't have to match what is in the profile. In fact, I can
25 > > think of a lot of cases where it does not. While I agree that it
26 > > shouldn't be required to have CHOST in make.conf, it *is* currently a
27 > > requirement, and has been for as long as I can remember.
28 >
29 > The portageq way would scan all make.* files, so you *could* still set
30 > CHOST in make.conf if you want to.
31
32 I wasn't disputing that. I was only stating that currently, there are
33 things that *require* CHOST in make.conf that would need to be adjusted.
34
35 --
36 Chris Gianelloni
37 Release Engineering - Strategic Lead
38 x86 Architecture Team
39 Games - Developer
40 Gentoo Linux

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] Why arch-specific make.conf files? Marius Mauch <genone@g.o>