diff options
author | Ulrich Müller <ulm@gentoo.org> | 2021-06-22 23:59:02 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2021-06-25 20:24:12 +0200 |
commit | f34b76673dc211ec4fd8424fb5188fe4ff641871 (patch) | |
tree | 98b0b28be5f05813f956007b8b92fa8c6061a39b /eclass | |
parent | dev-util/catalyst: keyworded 3.0.19 for hppa, bug #795318 (diff) | |
download | gentoo-f34b76673dc211ec4fd8424fb5188fe4ff641871.tar.gz gentoo-f34b76673dc211ec4fd8424fb5188fe4ff641871.tar.bz2 gentoo-f34b76673dc211ec4fd8424fb5188fe4ff641871.zip |
usr-ldscript.eclass: Support EAPI 8, drop support for EAPI 4
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/usr-ldscript.eclass | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/eclass/usr-ldscript.eclass b/eclass/usr-ldscript.eclass index 4ee129bda836..0d9cf11a7ab6 100644 --- a/eclass/usr-ldscript.eclass +++ b/eclass/usr-ldscript.eclass @@ -1,18 +1,18 @@ -# Copyright 2019 Gentoo Authors +# Copyright 2019-2021 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: 4 5 6 7 +# @SUPPORTED_EAPIS: 5 6 7 8 # @BLURB: Defines the gen_usr_ldscript function. if [[ -z ${_USR_LDSCRIPT_ECLASS} ]]; then _USR_LDSCRIPT_ECLASS=1 -case ${EAPI:-0} in - 4|5|6|7) ;; - *) die "EAPI=${EAPI} is not supported" ;; +case ${EAPI} in + 5|6|7|8) ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac inherit multilib toolchain-funcs |