diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-04-06 22:33:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-04-06 22:33:41 +0100 |
commit | e68d405c5d712af4387159df07e226217bdda049 (patch) | |
tree | 009ab0f3d427f0813e62930d71802cb054c07e30 /eclass/multilib.eclass | |
parent | 401101f9c8077911929d3f2b60a37098460a5d89 (diff) |
gentoo resync : 06.04.2022
Diffstat (limited to 'eclass/multilib.eclass')
-rw-r--r-- | eclass/multilib.eclass | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass index fadd371f3ca7..ec2676cb6cfb 100644 --- a/eclass/multilib.eclass +++ b/eclass/multilib.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: multilib.eclass @@ -299,8 +299,13 @@ get_modname() { echo ".${modname}" } +# @FUNCTION: multilib_env +# @USAGE: +# @DESCRIPTION: # This is for the toolchain to setup profile variables when pulling in # a crosscompiler (and thus they aren't set in the profile). +# +# This must only be used by toolchain packages. multilib_env() { local CTARGET=${1:-${CTARGET}} local cpu=${CTARGET%%*-} |