Gentoo Archives: gentoo-dev

From: James Le Cuirot <chewi@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] Profile-enforced big-endian USE flag
Date: Sat, 01 Jul 2017 09:03:59
Message-Id: 20170701100346.1639fb84@symphony.aura-online.co.uk
In Reply to: Re: [gentoo-dev] [PATCH] Profile-enforced big-endian USE flag by James Le Cuirot
1 On Thu, 29 Jun 2017 22:19:58 +0100
2 James Le Cuirot <chewi@g.o> wrote:
3
4 > On Wed, 28 Jun 2017 23:29:03 +0100
5 > James Le Cuirot <chewi@g.o> wrote:
6 >
7 > > > On Tue, Jun 27, 2017 at 6:44 PM, James Le Cuirot <chewi@g.o> wrote:
8 > > > > I am therefore proposing a new global big-endian flag. This could be
9 > > > > masked by default and unmasked + forced in the relevant profiles under
10 > > > > arch. I will apply this according to the mapping defined in tc-endian of
11 > > > > toolchain-funcs.eclass.
12 > >
13 > > I've just been putting the patch together. I made it slightly simpler
14 > > by masking *and* forcing it by default so that it only needs to be
15 > > unmasked were necessary.
16 >
17 > Feedback seems positive so here is the patch. I'll apply it late next
18 > week as I don't need it immediately and I will be away until then.
19 >
20 > ---
21 >
22 > diff --git a/profiles/arch/powerpc/use.mask b/profiles/arch/powerpc/use.mask
23 > index 6f993c6628c0..02e97b16f06d 100644
24 > --- a/profiles/arch/powerpc/use.mask
25 > +++ b/profiles/arch/powerpc/use.mask
26 > @@ -1,6 +1,13 @@
27 > +# Copyright 1999-2017 Gentoo Foundation
28 > +# Distributed under the terms of the GNU General Public License v2
29 > +
30 > # PPC Specific use flags
31 > #
32 >
33 > +# James Le Cuirot <chewi@g.o> (29 Jun 2017)
34 > +# Forced and masked by default. Unmask where necessary.
35 > +big-endian
36 > +
37 > # Matt Turner <mattst88@g.o> (24 Mar 2017)
38 > # virtual/opencl is not keyworded
39 > opencl
40
41 Just noticed a copy/pasta fail here. Obviously should be -big-endian.