diff options
Diffstat (limited to 'eclass/usr-ldscript.eclass')
-rw-r--r-- | eclass/usr-ldscript.eclass | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/eclass/usr-ldscript.eclass b/eclass/usr-ldscript.eclass index 2bf725abdd02..a8229ed2ac2e 100644 --- a/eclass/usr-ldscript.eclass +++ b/eclass/usr-ldscript.eclass @@ -1,20 +1,20 @@ -# Copyright 2019-2021 Gentoo Authors +# Copyright 2019-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: usr-ldscript.eclass # @MAINTAINER: # Toolchain Ninjas <toolchain@gentoo.org> -# @SUPPORTED_EAPIS: 5 6 7 8 +# @SUPPORTED_EAPIS: 6 7 8 # @BLURB: Defines the gen_usr_ldscript function. -if [[ -z ${_USR_LDSCRIPT_ECLASS} ]]; then -_USR_LDSCRIPT_ECLASS=1 - case ${EAPI} in - 5|6|7|8) ;; + 6|7|8) ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac +if [[ -z ${_USR_LDSCRIPT_ECLASS} ]]; then +_USR_LDSCRIPT_ECLASS=1 + inherit multilib toolchain-funcs IUSE="split-usr" |