summaryrefslogtreecommitdiff
path: root/profiles/hardened/linux/musl/ppc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /profiles/hardened/linux/musl/ppc
reinit the tree, so we can have metadata
Diffstat (limited to 'profiles/hardened/linux/musl/ppc')
-rw-r--r--profiles/hardened/linux/musl/ppc/eapi1
-rw-r--r--profiles/hardened/linux/musl/ppc/make.defaults18
-rw-r--r--profiles/hardened/linux/musl/ppc/package.mask2
-rw-r--r--profiles/hardened/linux/musl/ppc/package.use.force7
-rw-r--r--profiles/hardened/linux/musl/ppc/parent1
-rw-r--r--profiles/hardened/linux/musl/ppc/use.force8
-rw-r--r--profiles/hardened/linux/musl/ppc/use.mask8
7 files changed, 45 insertions, 0 deletions
diff --git a/profiles/hardened/linux/musl/ppc/eapi b/profiles/hardened/linux/musl/ppc/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/hardened/linux/musl/ppc/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/hardened/linux/musl/ppc/make.defaults b/profiles/hardened/linux/musl/ppc/make.defaults
new file mode 100644
index 000000000000..2022413f04a2
--- /dev/null
+++ b/profiles/hardened/linux/musl/ppc/make.defaults
@@ -0,0 +1,18 @@
+# Copyright 1999-2014 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License v2
+
+ARCH="ppc"
+ACCEPT_KEYWORDS="${ARCH}"
+
+CHOST="powerpc-gentoo-linux-musl"
+CFLAGS="-O2 -pipe"
+CXXFLAGS="${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
+
+ABI="ppc"
+DEFAULT_ABI="ppc"
+MULTILIB_ABIS="ppc"
+CHOST_ppc="${CHOST}"
+LIBDIR_ppc="lib"
+IUSE_IMPLICIT="abi_ppc_32"
diff --git a/profiles/hardened/linux/musl/ppc/package.mask b/profiles/hardened/linux/musl/ppc/package.mask
new file mode 100644
index 000000000000..56345622fa74
--- /dev/null
+++ b/profiles/hardened/linux/musl/ppc/package.mask
@@ -0,0 +1,2 @@
+# gcc-4.8 still doesn't work on ppc musl
+>sys-devel/gcc-4.8
diff --git a/profiles/hardened/linux/musl/ppc/package.use.force b/profiles/hardened/linux/musl/ppc/package.use.force
new file mode 100644
index 000000000000..e18275fe8cd6
--- /dev/null
+++ b/profiles/hardened/linux/musl/ppc/package.use.force
@@ -0,0 +1,7 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Michał Górny <mgorny@gentoo.org> (24 Sep 2016)
+# Force the host target to avoid dependency hell
+sys-devel/clang llvm_targets_PowerPC
+sys-devel/llvm llvm_targets_PowerPC
diff --git a/profiles/hardened/linux/musl/ppc/parent b/profiles/hardened/linux/musl/ppc/parent
new file mode 100644
index 000000000000..f3229c5b9876
--- /dev/null
+++ b/profiles/hardened/linux/musl/ppc/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/hardened/linux/musl/ppc/use.force b/profiles/hardened/linux/musl/ppc/use.force
new file mode 100644
index 000000000000..f4c29429b272
--- /dev/null
+++ b/profiles/hardened/linux/musl/ppc/use.force
@@ -0,0 +1,8 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Force the flag which corresponds to ARCH.
+ppc
+
+# Force the flag corresponding to the only ABI.
+abi_ppc_32
diff --git a/profiles/hardened/linux/musl/ppc/use.mask b/profiles/hardened/linux/musl/ppc/use.mask
new file mode 100644
index 000000000000..e1f5512c8bb0
--- /dev/null
+++ b/profiles/hardened/linux/musl/ppc/use.mask
@@ -0,0 +1,8 @@
+# Copyright 1999-2014 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+
+# Unmask the flag which corresponds to ARCH.
+-ppc
+
+# Unmask the flag corresponding to the only ABI.
+-abi_ppc_32