diff options
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%%*-} |