summaryrefslogtreecommitdiff
path: root/profiles/features/multilib
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/features/multilib')
-rw-r--r--profiles/features/multilib/eapi1
-rw-r--r--profiles/features/multilib/make.defaults16
-rw-r--r--profiles/features/multilib/package.use6
-rw-r--r--profiles/features/multilib/package.use.force7
-rw-r--r--profiles/features/multilib/use.mask8
5 files changed, 38 insertions, 0 deletions
diff --git a/profiles/features/multilib/eapi b/profiles/features/multilib/eapi
new file mode 100644
index 00000000..7ed6ff82
--- /dev/null
+++ b/profiles/features/multilib/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/features/multilib/make.defaults b/profiles/features/multilib/make.defaults
new file mode 100644
index 00000000..a844d754
--- /dev/null
+++ b/profiles/features/multilib/make.defaults
@@ -0,0 +1,16 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> (16 Nov 2011)
+# Rename STAGE1_USE to BOOTSTRAP_USE and stack it to the parent value
+# This is so we build with multilib from the start
+BOOTSTRAP_USE="${BOOTSTRAP_USE} multilib"
+
+# Default USE=multilib to on. This rarely impact packages as they should be
+# using the multilib eclass anyways. #435094
+USE="multilib"
+
+# FEATURES="multilib-strict" specific settings.
+MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
+MULTILIB_STRICT_DENY="64-bit.*shared object"
+MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage|udev|systemd|clang|python-exec|llvm)"
diff --git a/profiles/features/multilib/package.use b/profiles/features/multilib/package.use
new file mode 100644
index 00000000..b171f871
--- /dev/null
+++ b/profiles/features/multilib/package.use
@@ -0,0 +1,6 @@
+# Copyright 1999-2016 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+
+# Enable all ABIs by default so we can protect any non-native binaries that
+# might be executed.
+sys-apps/sandbox abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_o32 abi_mips_n32 abi_mips_n64 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
diff --git a/profiles/features/multilib/package.use.force b/profiles/features/multilib/package.use.force
new file mode 100644
index 00000000..90f2389e
--- /dev/null
+++ b/profiles/features/multilib/package.use.force
@@ -0,0 +1,7 @@
+# Copyright 2004-2014 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+
+# These packages must have multilib turned on in order to work sanely.
+sys-apps/sandbox multilib
+sys-devel/gcc multilib
+sys-libs/glibc multilib
diff --git a/profiles/features/multilib/use.mask b/profiles/features/multilib/use.mask
new file mode 100644
index 00000000..7471c9f0
--- /dev/null
+++ b/profiles/features/multilib/use.mask
@@ -0,0 +1,8 @@
+# Copyright 2004-2008 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+
+# SECTION: Unmask
+
+# 2008/02/13 - Chris Gianelloni <wolf31o2@gentoo.org>
+# Unmask multilib, since we need to use it.
+-multilib