commit:     2a50181ac32141c7cd10eea65bf0550b87d4a0d5
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 29 21:11:49 2017 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Fri Jul  7 21:08:28 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a50181a

profiles: Add profile-enforced global big-endian USE flag

The flag is forced and masked by default and then unmasked where
necessary. Note that there are some big endian host values listed in
tc-endian() that we do not have profiles for.

 profiles/arch/arm64/big-endian/use.mask                    | 6 ++++++
 profiles/arch/base/use.force                               | 6 ++++++
 profiles/arch/base/use.mask                                | 4 ++++
 profiles/arch/hppa/use.mask                                | 4 ++++
 profiles/arch/m68k/use.mask                                | 7 +++++++
 profiles/arch/{powerpc/ppc64/64le => mips/mipsel}/use.mask | 6 +++---
 profiles/arch/mips/use.mask                                | 4 ++++
 profiles/arch/powerpc/ppc64/64le/use.mask                  | 4 ++++
 profiles/arch/powerpc/use.mask                             | 7 +++++++
 profiles/arch/s390/use.mask                                | 7 +++++++
 profiles/arch/sparc/use.mask                               | 4 ++++
 profiles/use.desc                                          | 3 ++-
 12 files changed, 58 insertions(+), 4 deletions(-)

diff --git a/profiles/arch/arm64/big-endian/use.mask 
b/profiles/arch/arm64/big-endian/use.mask
new file mode 100644
index 00000000000..0a4af0711f5
--- /dev/null
+++ b/profiles/arch/arm64/big-endian/use.mask
@@ -0,0 +1,6 @@
+# Copyright 1999-2017 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+
+# James Le Cuirot <ch...@gentoo.org> (29 Jun 2017)
+# Unmask as this profile is big endian.
+-big-endian

diff --git a/profiles/arch/base/use.force b/profiles/arch/base/use.force
new file mode 100644
index 00000000000..7f213b9dd01
--- /dev/null
+++ b/profiles/arch/base/use.force
@@ -0,0 +1,6 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# James Le Cuirot <ch...@gentoo.org> (29 Jun 2017)
+# Forced and masked by default. Unmask where necessary.
+big-endian

diff --git a/profiles/arch/base/use.mask b/profiles/arch/base/use.mask
index 1a4a39cefc1..2ea1fb3d89f 100644
--- a/profiles/arch/base/use.mask
+++ b/profiles/arch/base/use.mask
@@ -1,6 +1,10 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
+# James Le Cuirot <ch...@gentoo.org> (29 Jun 2017)
+# Forced and masked by default. Unmask where necessary.
+big-endian
+
 # Sven Wegener <swege...@gentoo.org> (31 May 2017)
 # libvirt is only supported on specific architectures
 libvirt

diff --git a/profiles/arch/hppa/use.mask b/profiles/arch/hppa/use.mask
index 7361e2c52af..bd158162a44 100644
--- a/profiles/arch/hppa/use.mask
+++ b/profiles/arch/hppa/use.mask
@@ -3,6 +3,10 @@
 # NOTE: When masking a USE flag due to missing keywords, please file a keyword
 # request bug for the hppa arch.
 
+# James Le Cuirot <ch...@gentoo.org> (29 Jun 2017)
+# Unmask as this profile is big endian.
+-big-endian
+
 # Andreas Sturmlechner <ast...@gentoo.org> (25 Feb 2017)
 # kwallet integration split from kde to distinct flag
 kwallet

diff --git a/profiles/arch/m68k/use.mask b/profiles/arch/m68k/use.mask
index aac0e46e97c..646567111d5 100644
--- a/profiles/arch/m68k/use.mask
+++ b/profiles/arch/m68k/use.mask
@@ -1,6 +1,13 @@
+# Copyright 1999-2017 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+
 # Unmask the flag which corresponds to ARCH.
 -m68k
 
+# James Le Cuirot <ch...@gentoo.org> (29 Jun 2017)
+# Unmask as this profile is big endian.
+-big-endian
+
 hardened
 
 # Paul de Vrieze <pau...@gentoo.org>

diff --git a/profiles/arch/powerpc/ppc64/64le/use.mask 
b/profiles/arch/mips/mipsel/use.mask
similarity index 50%
copy from profiles/arch/powerpc/ppc64/64le/use.mask
copy to profiles/arch/mips/mipsel/use.mask
index 2419ed9b642..2a8cc7b0c76 100644
--- a/profiles/arch/powerpc/ppc64/64le/use.mask
+++ b/profiles/arch/mips/mipsel/use.mask
@@ -1,6 +1,6 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-# 2008/02/13 - Chris Gianelloni <wolf3...@gentoo.org>
-# Mask multilib, since we cannot use it.
-multilib
+# James Le Cuirot <ch...@gentoo.org> (29 Jun 2017)
+# Remask as this profile is little endian.
+big-endian

diff --git a/profiles/arch/mips/use.mask b/profiles/arch/mips/use.mask
index 09ac8ca4b2c..6caff81617c 100644
--- a/profiles/arch/mips/use.mask
+++ b/profiles/arch/mips/use.mask
@@ -4,6 +4,10 @@
 # Unmask the flag which corresponds to ARCH.
 -mips
 
+# James Le Cuirot <ch...@gentoo.org> (29 Jun 2017)
+# Unmask as this profile is big endian.
+-big-endian
+
 # Mart Raudsepp <l...@gentoo.org> (27 May 2017)
 # media-libs/libmtp not tested
 mtp

diff --git a/profiles/arch/powerpc/ppc64/64le/use.mask 
b/profiles/arch/powerpc/ppc64/64le/use.mask
index 2419ed9b642..b8ad07b24a5 100644
--- a/profiles/arch/powerpc/ppc64/64le/use.mask
+++ b/profiles/arch/powerpc/ppc64/64le/use.mask
@@ -1,6 +1,10 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
+# James Le Cuirot <ch...@gentoo.org> (29 Jun 2017)
+# Remask as this profile is little endian.
+big-endian
+
 # 2008/02/13 - Chris Gianelloni <wolf3...@gentoo.org>
 # Mask multilib, since we cannot use it.
 multilib

diff --git a/profiles/arch/powerpc/use.mask b/profiles/arch/powerpc/use.mask
index 6f993c6628c..38b7a4ecf58 100644
--- a/profiles/arch/powerpc/use.mask
+++ b/profiles/arch/powerpc/use.mask
@@ -1,6 +1,13 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
 # PPC Specific use flags
 #
 
+# James Le Cuirot <ch...@gentoo.org> (29 Jun 2017)
+# Unmask as this profile is big endian.
+-big-endian
+
 # Matt Turner <matts...@gentoo.org> (24 Mar 2017)
 # virtual/opencl is not keyworded
 opencl

diff --git a/profiles/arch/s390/use.mask b/profiles/arch/s390/use.mask
index 91dda10d040..18637daa144 100644
--- a/profiles/arch/s390/use.mask
+++ b/profiles/arch/s390/use.mask
@@ -1,9 +1,16 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
 # Unmask the flag which corresponds to ARCH.
 -s390
 
 # Unmask ABI flags for this arch.
 -abi_s390_32
 
+# James Le Cuirot <ch...@gentoo.org> (29 Jun 2017)
+# Unmask as this profile is big endian.
+-big-endian
+
 # Stuff we don't want/not tested
 pbins
 R

diff --git a/profiles/arch/sparc/use.mask b/profiles/arch/sparc/use.mask
index be19f2f7ed5..0d3e7049cf2 100644
--- a/profiles/arch/sparc/use.mask
+++ b/profiles/arch/sparc/use.mask
@@ -6,6 +6,10 @@
 
 # This file contains a list of useflags that cannot be used on sparc.
 
+# James Le Cuirot <ch...@gentoo.org> (29 Jun 2017)
+# Unmask as this profile is big endian.
+-big-endian
+
 # Andreas Sturmlechner <ast...@gentoo.org> (25 Feb 2017)
 # kwallet integration split from kde to distinct flag
 kwallet

diff --git a/profiles/use.desc b/profiles/use.desc
index 127c9935fa2..9501b38fe33 100644
--- a/profiles/use.desc
+++ b/profiles/use.desc
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 # Keep them sorted
@@ -30,6 +30,7 @@ bash-completion - Enable bash-completion support
 bcmath - Add support for libbcmath
 berkdb - Add support for sys-libs/db (Berkeley DB for MySQL)
 bidi - Enable bidirectional language support
+big-endian - Big-endian toolchain support
 bindist - Flag to enable or disable options for prebuilt (GRP) packages (eg. 
due to licensing issues)
 blas - Add support for the virtual/blas numerical library
 bluetooth - Enable Bluetooth Support

Reply via email to