diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /profiles/prefix/linux/x86 |
reinit the tree, so we can have metadata
Diffstat (limited to 'profiles/prefix/linux/x86')
-rw-r--r-- | profiles/prefix/linux/x86/eapi | 1 | ||||
-rw-r--r-- | profiles/prefix/linux/x86/make.defaults | 9 | ||||
-rw-r--r-- | profiles/prefix/linux/x86/parent | 2 | ||||
-rw-r--r-- | profiles/prefix/linux/x86/profile.bashrc | 12 |
4 files changed, 24 insertions, 0 deletions
diff --git a/profiles/prefix/linux/x86/eapi b/profiles/prefix/linux/x86/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/prefix/linux/x86/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/prefix/linux/x86/make.defaults b/profiles/prefix/linux/x86/make.defaults new file mode 100644 index 000000000000..8a679deb0752 --- /dev/null +++ b/profiles/prefix/linux/x86/make.defaults @@ -0,0 +1,9 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# The base profile sets ACCEPT_KEYWORDS=x86 and we don't have that in prefix. +ACCEPT_KEYWORDS="-x86 ~x86-linux" + +# in case we are bootstrapping with the host compiler on an amd64 linux host: +CFLAGS="${CFLAGS} -m32" +CXXFLAGS="${CXXFLAGS} -m32" diff --git a/profiles/prefix/linux/x86/parent b/profiles/prefix/linux/x86/parent new file mode 100644 index 000000000000..0fbf3318c1e6 --- /dev/null +++ b/profiles/prefix/linux/x86/parent @@ -0,0 +1,2 @@ +../../../default/linux/x86/13.0 +.. diff --git a/profiles/prefix/linux/x86/profile.bashrc b/profiles/prefix/linux/x86/profile.bashrc new file mode 100644 index 000000000000..5e3242d8ff41 --- /dev/null +++ b/profiles/prefix/linux/x86/profile.bashrc @@ -0,0 +1,12 @@ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 + +# When x86-linux runs on an amd64 host having /lib32, +# we need to have binutils to search there too (#360197). +# The patches to do so are applied upon SYMLINK_LIB=yes, +# needed when /lib32 is (a symlink to) an existing directory. +if [[ ${CATEGORY}/${PN} = sys-devel/binutils ]] \ +&& [[ ${EBUILD_PHASE} == setup ]] \ +&& [[ -d ${ROOT}lib32/. ]] \ +; then + export SYMLINK_LIB=yes +fi |