summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2015-08-30 23:55:17 -0400
committerAnthony G. Basile <blueness@gentoo.org>2015-08-30 23:55:42 -0400
commit6fc3deba29df7592620ebbee197a180bb6ae0ffd (patch)
tree745ea7a7802bcd04ecf12d6f880c2bfbcdf22dde /profiles
parentdev-python/semantic_version: bump; add python3 pypy support (diff)
downloadgentoo-6fc3deba29df7592620ebbee197a180bb6ae0ffd.tar.gz
gentoo-6fc3deba29df7592620ebbee197a180bb6ae0ffd.tar.bz2
gentoo-6fc3deba29df7592620ebbee197a180bb6ae0ffd.zip
profiles: initial musl amd64/x32 profile support.
Diffstat (limited to 'profiles')
-rw-r--r--profiles/hardened/linux/musl/amd64/x32/eapi1
-rw-r--r--profiles/hardened/linux/musl/amd64/x32/make.defaults14
-rw-r--r--profiles/hardened/linux/musl/amd64/x32/parent1
-rw-r--r--profiles/hardened/linux/musl/amd64/x32/use.force7
-rw-r--r--profiles/hardened/linux/musl/amd64/x32/use.mask7
-rw-r--r--profiles/profiles.desc1
6 files changed, 31 insertions, 0 deletions
diff --git a/profiles/hardened/linux/musl/amd64/x32/eapi b/profiles/hardened/linux/musl/amd64/x32/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/hardened/linux/musl/amd64/x32/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/hardened/linux/musl/amd64/x32/make.defaults b/profiles/hardened/linux/musl/amd64/x32/make.defaults
new file mode 100644
index 00000000000..cf5a0925409
--- /dev/null
+++ b/profiles/hardened/linux/musl/amd64/x32/make.defaults
@@ -0,0 +1,14 @@
+# Copyright 1999-2015 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+CHOST="x86_64-gentoo-linux-muslx32"
+
+# Anthony G. Basile <blueness@gentoo.org> (31 Aug 2015)
+# Multilib-related setup, bug #515130
+ABI="x32"
+DEFAULT_ABI="x32"
+MULTILIB_ABIS="x32"
+CHOST_x32=${CHOST}
+LIBDIR_x32="lib"
+IUSE_IMPLICIT="abi_x86_x32"
diff --git a/profiles/hardened/linux/musl/amd64/x32/parent b/profiles/hardened/linux/musl/amd64/x32/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/hardened/linux/musl/amd64/x32/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/hardened/linux/musl/amd64/x32/use.force b/profiles/hardened/linux/musl/amd64/x32/use.force
new file mode 100644
index 00000000000..71a90a0fac6
--- /dev/null
+++ b/profiles/hardened/linux/musl/amd64/x32/use.force
@@ -0,0 +1,7 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Force the flag which corresponds to arch/abi, bug #515130
+-abi_x86_64
+abi_x86_x32
diff --git a/profiles/hardened/linux/musl/amd64/x32/use.mask b/profiles/hardened/linux/musl/amd64/x32/use.mask
new file mode 100644
index 00000000000..182f7557c99
--- /dev/null
+++ b/profiles/hardened/linux/musl/amd64/x32/use.mask
@@ -0,0 +1,7 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Force the flag which corresponds to arch/abi, bug #515130
+-abi_x86_x32
+abi_x86_64
diff --git a/profiles/profiles.desc b/profiles/profiles.desc
index b2f2200cf09..9274218a35d 100644
--- a/profiles/profiles.desc
+++ b/profiles/profiles.desc
@@ -189,6 +189,7 @@ amd64 hardened/linux/amd64/no-multilib stable
amd64 hardened/linux/amd64/no-multilib/selinux stable
amd64 hardened/linux/amd64/x32 dev
amd64 hardened/linux/musl/amd64 exp
+amd64 hardened/linux/musl/amd64/x32 exp
arm hardened/linux/arm/armv7a dev
arm hardened/linux/arm/armv6j dev
arm hardened/linux/musl/arm/armv7a exp