diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /profiles/hardened/linux/musl | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'profiles/hardened/linux/musl')
45 files changed, 411 insertions, 0 deletions
diff --git a/profiles/hardened/linux/musl/amd64/eapi b/profiles/hardened/linux/musl/amd64/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/hardened/linux/musl/amd64/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/hardened/linux/musl/amd64/make.defaults b/profiles/hardened/linux/musl/amd64/make.defaults new file mode 100644 index 000000000000..29634fdb7bfe --- /dev/null +++ b/profiles/hardened/linux/musl/amd64/make.defaults @@ -0,0 +1,25 @@ +# Copyright 1999-2015 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +ARCH="amd64" +ACCEPT_KEYWORDS="${ARCH}" + +CHOST="x86_64-gentoo-linux-musl" +CFLAGS="-O2 -pipe" +CXXFLAGS="${CFLAGS}" +FFLAGS="${CFLAGS}" +FCFLAGS="${CFLAGS}" + +# Anthony G. Basile <blueness@gentoo.org> (01 Jul 2014) +# Multilib-related setup, bug #515130 +ABI="amd64" +DEFAULT_ABI="amd64" +MULTILIB_ABIS="amd64" +CHOST_amd64=${CHOST} +LIBDIR_amd64="lib" +IUSE_IMPLICIT="abi_x86_64" + +# Anthony G. Basile <blueness@gentoo.org> (26 Jan 2013) +# Unhide the CPU_FLAGS_X86 USE_EXPANDs. +USE_EXPAND_HIDDEN="-CPU_FLAGS_X86" diff --git a/profiles/hardened/linux/musl/amd64/package.mask b/profiles/hardened/linux/musl/amd64/package.mask new file mode 100644 index 000000000000..c466e72b3283 --- /dev/null +++ b/profiles/hardened/linux/musl/amd64/package.mask @@ -0,0 +1,14 @@ +# Copyright 1999-2015 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# +# Alfredo Tupone <tupone@gentoo.org> (02 Feb 2013) +# Depending on masked packages +# +games-strategy/dominions2-demo + +# Ulrich Müller <ulm@gentoo.org> (18 Mar 2013) +# Packages that rely on multilib +=app-editors/emacs-18* +net-misc/icaclient diff --git a/profiles/hardened/linux/musl/amd64/parent b/profiles/hardened/linux/musl/amd64/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/hardened/linux/musl/amd64/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/hardened/linux/musl/amd64/use.force b/profiles/hardened/linux/musl/amd64/use.force new file mode 100644 index 000000000000..8797d43832d2 --- /dev/null +++ b/profiles/hardened/linux/musl/amd64/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 +amd64 +abi_x86_64 diff --git a/profiles/hardened/linux/musl/amd64/use.mask b/profiles/hardened/linux/musl/amd64/use.mask new file mode 100644 index 000000000000..69af217624cb --- /dev/null +++ b/profiles/hardened/linux/musl/amd64/use.mask @@ -0,0 +1,46 @@ +# 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 +-amd64 +-abi_x86_64 + +# unmask all SIMD assembler flags +-mmx +-mmxext +-sse +-sse2 +-sse3 +-sse4 +-sse4a +-ssse3 +-3dnow +-3dnowext +-cpu_flags_x86_3dnow +-cpu_flags_x86_3dnowext +-cpu_flags_x86_aes +-cpu_flags_x86_avx +-cpu_flags_x86_avx2 +-cpu_flags_x86_fma3 +-cpu_flags_x86_fma4 +-cpu_flags_x86_mmx +-cpu_flags_x86_mmxext +-cpu_flags_x86_padlock +-cpu_flags_x86_popcnt +-cpu_flags_x86_sse +-cpu_flags_x86_sse2 +-cpu_flags_x86_sse3 +-cpu_flags_x86_sse4_1 +-cpu_flags_x86_sse4_2 +-cpu_flags_x86_sse4a +-cpu_flags_x86_ssse3 +-cpu_flags_x86_xop + +# Lilo works on amd64 +-lilo + +# These work +-input_devices_synaptics +-input_devices_wacom +-video_cards_qxl diff --git a/profiles/hardened/linux/musl/arm/armv7a/eapi b/profiles/hardened/linux/musl/arm/armv7a/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/hardened/linux/musl/arm/armv7a/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/hardened/linux/musl/arm/armv7a/make.defaults b/profiles/hardened/linux/musl/arm/armv7a/make.defaults new file mode 100644 index 000000000000..2110554c576b --- /dev/null +++ b/profiles/hardened/linux/musl/arm/armv7a/make.defaults @@ -0,0 +1,9 @@ +# Copyright 1999-2014 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +CHOST="armv7a-hardfloat-linux-musleabi" +CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard" +CXXFLAGS="${CFLAGS}" +FFLAGS="${CFLAGS}" +FCFLAGS="${CFLAGS}" diff --git a/profiles/hardened/linux/musl/arm/armv7a/parent b/profiles/hardened/linux/musl/arm/armv7a/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/hardened/linux/musl/arm/armv7a/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/hardened/linux/musl/arm/eapi b/profiles/hardened/linux/musl/arm/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/hardened/linux/musl/arm/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/hardened/linux/musl/arm/make.defaults b/profiles/hardened/linux/musl/arm/make.defaults new file mode 100644 index 000000000000..b747d8716372 --- /dev/null +++ b/profiles/hardened/linux/musl/arm/make.defaults @@ -0,0 +1,12 @@ +# Copyright 1999-2014 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +ARCH="arm" +ACCEPT_KEYWORDS="${ARCH}" + +CHOST="arm-unknown-linux-musleabi" +CFLAGS="-O2" +CXXFLAGS="${CFLAGS}" +FFLAGS="${CFLAGS}" +FCFLAGS="${CFLAGS}" diff --git a/profiles/hardened/linux/musl/arm/package.mask b/profiles/hardened/linux/musl/arm/package.mask new file mode 100644 index 000000000000..56c5f228bf93 --- /dev/null +++ b/profiles/hardened/linux/musl/arm/package.mask @@ -0,0 +1,9 @@ +# Copyright 1999-2015 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Anthony G. Basile <blueness@gentoo.org> (08 May 2015) +# Mask gcc 4.8 and above pending the fix of bug #518598 +=sys-devel/gcc-4.8* +=sys-devel/gcc-4.9* +=sys-devel/gcc-5.1* diff --git a/profiles/hardened/linux/musl/arm/parent b/profiles/hardened/linux/musl/arm/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/hardened/linux/musl/arm/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/hardened/linux/musl/arm/use.force b/profiles/hardened/linux/musl/arm/use.force new file mode 100644 index 000000000000..fe0460b9e5cf --- /dev/null +++ b/profiles/hardened/linux/musl/arm/use.force @@ -0,0 +1,6 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Force the flag which corresponds to ARCH. +arm diff --git a/profiles/hardened/linux/musl/arm/use.mask b/profiles/hardened/linux/musl/arm/use.mask new file mode 100644 index 000000000000..aa8fa3bd2e0f --- /dev/null +++ b/profiles/hardened/linux/musl/arm/use.mask @@ -0,0 +1,6 @@ +# Copyright 1999-2014 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Unmask the flag which corresponds to ARCH. +-arm diff --git a/profiles/hardened/linux/musl/eapi b/profiles/hardened/linux/musl/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/hardened/linux/musl/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/hardened/linux/musl/make.defaults b/profiles/hardened/linux/musl/make.defaults new file mode 100644 index 000000000000..4c6b3d5ce197 --- /dev/null +++ b/profiles/hardened/linux/musl/make.defaults @@ -0,0 +1,16 @@ +# Copyright 1999-2014 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +ELIBC="musl" + +FEATURES="sandbox sfperms strict" + +USE="hardened nptl pax_kernel pic unicode xattr -berkdb -jit -orc" +BOOTSTRAP_USE="${BOOTSTRAP_USE} hardened nptl pax_kernel pic -berkdb -jit -nls -orc" + +SYMLINK_LIB="no" + +# TODO: fix so musl doesn't generate this for all packages +# that use a charset, it causes package collisons. +INSTALL_MASK="charset.alias" diff --git a/profiles/hardened/linux/musl/mips/eapi b/profiles/hardened/linux/musl/mips/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/hardened/linux/musl/mips/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/hardened/linux/musl/mips/make.defaults b/profiles/hardened/linux/musl/mips/make.defaults new file mode 100644 index 000000000000..04c30a65e93d --- /dev/null +++ b/profiles/hardened/linux/musl/mips/make.defaults @@ -0,0 +1,21 @@ +# Copyright 1999-2014 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +ARCH="mips" +ACCEPT_KEYWORDS="${ARCH} ~${ARCH}" + +CHOST="mips-gentoo-linux-musl" +CFLAGS="-O2 -pipe" +CXXFLAGS="${CFLAGS}" +FFLAGS="${CFLAGS}" +FCFLAGS="${CFLAGS}" + +# Anthony G. Basile <blueness@gentoo.org> (01 Jul 2014) +# Multilib-related setup, bug #515130 +ABI="o32" +DEFAULT_ABI="o32" +MULTILIB_ABIS="o32" +CHOST_o32=${CHOST} +LIBDIR_o32="lib" +IUSE_IMPLICIT="abi_mips_o32" diff --git a/profiles/hardened/linux/musl/mips/mipsel/eapi b/profiles/hardened/linux/musl/mips/mipsel/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/hardened/linux/musl/mips/mipsel/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/hardened/linux/musl/mips/mipsel/make.defaults b/profiles/hardened/linux/musl/mips/mipsel/make.defaults new file mode 100644 index 000000000000..f24306b9244a --- /dev/null +++ b/profiles/hardened/linux/musl/mips/mipsel/make.defaults @@ -0,0 +1,10 @@ +# Copyright 1999-2014 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +CHOST="mipsel-gentoo-linux-musl" +CHOST_o32=${CHOST} + +# Disable sandbox because its currently broken on mipsel-musl +FEATURES="-sandbox" + diff --git a/profiles/hardened/linux/musl/mips/mipsel/parent b/profiles/hardened/linux/musl/mips/mipsel/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/hardened/linux/musl/mips/mipsel/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/hardened/linux/musl/mips/package.mask b/profiles/hardened/linux/musl/mips/package.mask new file mode 100644 index 000000000000..625d50f9f213 --- /dev/null +++ b/profiles/hardened/linux/musl/mips/package.mask @@ -0,0 +1,6 @@ +# Copyright 1999-2015 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +dev-util/pkgconfig +>sys-apps/kbd-1.15.5-r99 diff --git a/profiles/hardened/linux/musl/mips/package.use.force b/profiles/hardened/linux/musl/mips/package.use.force new file mode 100644 index 000000000000..972c4bff1640 --- /dev/null +++ b/profiles/hardened/linux/musl/mips/package.use.force @@ -0,0 +1,2 @@ +# The only working option +dev-util/pkgconf pkg-config diff --git a/profiles/hardened/linux/musl/mips/parent b/profiles/hardened/linux/musl/mips/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/hardened/linux/musl/mips/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/hardened/linux/musl/mips/use.force b/profiles/hardened/linux/musl/mips/use.force new file mode 100644 index 000000000000..ea76c4b361d4 --- /dev/null +++ b/profiles/hardened/linux/musl/mips/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 +mips +abi_mips_o32 diff --git a/profiles/hardened/linux/musl/mips/use.mask b/profiles/hardened/linux/musl/mips/use.mask new file mode 100644 index 000000000000..6d2acc5ac2cb --- /dev/null +++ b/profiles/hardened/linux/musl/mips/use.mask @@ -0,0 +1,7 @@ +# Copyright 1999-2014 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Unmask the flag which corresponds to arch/abi, bug #515130 +-mips +-abi_mips_o32 diff --git a/profiles/hardened/linux/musl/package.mask b/profiles/hardened/linux/musl/package.mask new file mode 100644 index 000000000000..94b1dcb7c386 --- /dev/null +++ b/profiles/hardened/linux/musl/package.mask @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +sys-libs/uclibc +sys-libs/glibc + +# We mask these until we sort out bug #544476. +>sys-kernel/linux-headers-3.16 + +# We use eudev which is tested on both uclibc and musl +sys-apps/systemd +sys-fs/udev +# +dev-libs/elfutils +sys-libs/pam + +# packages with a hard dep on sys-libs/glibc +games-action/descent3 +games-action/descent3-demo +games-action/lugaru +games-action/lugaru-demo +games-action/shadowgrounds-bin +games-action/shadowgrounds-survivor-bin +games-action/trine-bin +games-arcade/marbleblastgold-demo +games-puzzle/world-of-goo +games-puzzle/world-of-goo-demo +games-strategy/defcon-demo +games-strategy/knights-demo +games-strategy/majesty-demo diff --git a/profiles/hardened/linux/musl/package.use.mask b/profiles/hardened/linux/musl/package.use.mask new file mode 100644 index 000000000000..6c3b2441ac17 --- /dev/null +++ b/profiles/hardened/linux/musl/package.use.mask @@ -0,0 +1,14 @@ +# Copyright 1999-2015 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# See bug #504200 +sys-devel/gcc sanitize + +# These cause collisions with <libintl.h> +# even with --without-included-gettext +sys-devel/gettext nls +sys-fs/e2fsprogs nls + +# Broken +dev-vcs/git gpg diff --git a/profiles/hardened/linux/musl/packages b/profiles/hardened/linux/musl/packages new file mode 100644 index 000000000000..cfe33a1c9b3e --- /dev/null +++ b/profiles/hardened/linux/musl/packages @@ -0,0 +1,7 @@ +# Copyright 1999-2014 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +*app-misc/pax-utils +*sys-apps/sandbox +-*sys-apps/man-pages diff --git a/profiles/hardened/linux/musl/packages.build b/profiles/hardened/linux/musl/packages.build new file mode 100644 index 000000000000..d62198d24693 --- /dev/null +++ b/profiles/hardened/linux/musl/packages.build @@ -0,0 +1,11 @@ +# Copyright 1999-2014 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# This file lists extra packages needed to build for +# a stage 1 based on this profile. + +dev-util/pkgconf +sys-apps/attr +sys-apps/sandbox +dev-python/pyxattr diff --git a/profiles/hardened/linux/musl/parent b/profiles/hardened/linux/musl/parent new file mode 100644 index 000000000000..be0b656ea9a8 --- /dev/null +++ b/profiles/hardened/linux/musl/parent @@ -0,0 +1,2 @@ +../../../base +../../../default/linux 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..fb93eadb01b7 --- /dev/null +++ b/profiles/hardened/linux/musl/ppc/make.defaults @@ -0,0 +1,19 @@ +# Copyright 1999-2014 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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/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..f2f4a2520f12 --- /dev/null +++ b/profiles/hardened/linux/musl/ppc/use.force @@ -0,0 +1,9 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# 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..a12f97358bc9 --- /dev/null +++ b/profiles/hardened/linux/musl/ppc/use.mask @@ -0,0 +1,9 @@ +# Copyright 1999-2014 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License, v2 +# $Id$ + +# Unmask the flag which corresponds to ARCH. +-ppc + +# Unmask the flag corresponding to the only ABI. +-abi_ppc_32 diff --git a/profiles/hardened/linux/musl/use.force b/profiles/hardened/linux/musl/use.force new file mode 100644 index 000000000000..a17916dbf71b --- /dev/null +++ b/profiles/hardened/linux/musl/use.force @@ -0,0 +1,5 @@ +# Copyright 1999-2013 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +elibc_musl diff --git a/profiles/hardened/linux/musl/use.mask b/profiles/hardened/linux/musl/use.mask new file mode 100644 index 000000000000..c5a6463c4f2b --- /dev/null +++ b/profiles/hardened/linux/musl/use.mask @@ -0,0 +1,11 @@ +# Copyright 1999-2015 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +pam + +-elibc_musl +elibc_uclibc +elibc_glibc + +-hardened diff --git a/profiles/hardened/linux/musl/x86/eapi b/profiles/hardened/linux/musl/x86/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/hardened/linux/musl/x86/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/hardened/linux/musl/x86/make.defaults b/profiles/hardened/linux/musl/x86/make.defaults new file mode 100644 index 000000000000..9007af355c6d --- /dev/null +++ b/profiles/hardened/linux/musl/x86/make.defaults @@ -0,0 +1,25 @@ +# Copyright 1999-2015 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +ARCH="x86" +ACCEPT_KEYWORDS="${ARCH}" + +CHOST="i686-gentoo-linux-musl" +CFLAGS="-O2 -pipe" +CXXFLAGS="${CFLAGS}" +FFLAGS="${CFLAGS}" +FCFLAGS="${CFLAGS}" + +# Anthony G. Basile <blueness@gentoo.org> (01 Jul 2014) +# Multilib-related setup, bug #515130 +ABI="x86" +DEFAULT_ABI="x86" +MULTILIB_ABIS="x86" +CHOST_x86=${CHOST} +LIBDIR_x86="lib" +IUSE_IMPLICIT="abi_x86_32" + +# Anthony G. Basile <blueness@gentoo.org> (26 Jan 2013) +# Unhide the CPU_FLAGS_X86 USE_EXPANDs. +USE_EXPAND_HIDDEN="-CPU_FLAGS_X86" diff --git a/profiles/hardened/linux/musl/x86/parent b/profiles/hardened/linux/musl/x86/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/hardened/linux/musl/x86/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/hardened/linux/musl/x86/use.force b/profiles/hardened/linux/musl/x86/use.force new file mode 100644 index 000000000000..b3521bb84a00 --- /dev/null +++ b/profiles/hardened/linux/musl/x86/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 +x86 +abi_x86_32 diff --git a/profiles/hardened/linux/musl/x86/use.mask b/profiles/hardened/linux/musl/x86/use.mask new file mode 100644 index 000000000000..91cbef719eb8 --- /dev/null +++ b/profiles/hardened/linux/musl/x86/use.mask @@ -0,0 +1,41 @@ +# 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 +-x86 +-abi_x86_32 + +# unmask all SIMD assembler flags +-mmx +-mmxext +-sse +-sse2 +-sse3 +-sse4 +-sse4a +-ssse3 +-3dnow +-3dnowext +-cpu_flags_x86_3dnow +-cpu_flags_x86_3dnowext +-cpu_flags_x86_aes +-cpu_flags_x86_avx +-cpu_flags_x86_avx2 +-cpu_flags_x86_fma3 +-cpu_flags_x86_fma4 +-cpu_flags_x86_mmx +-cpu_flags_x86_mmxext +-cpu_flags_x86_padlock +-cpu_flags_x86_popcnt +-cpu_flags_x86_sse +-cpu_flags_x86_sse2 +-cpu_flags_x86_sse3 +-cpu_flags_x86_sse4_1 +-cpu_flags_x86_sse4_2 +-cpu_flags_x86_sse4a +-cpu_flags_x86_ssse3 +-cpu_flags_x86_xop + +# Masked on all profiles but x86, bug #458354 +-video_cards_geode |