Mailing List Archive

[PATCH 1/2] usr-ldscript.eclass: Support EAPI 8, drop support for EAPI 4
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
---
eclass/usr-ldscript.eclass | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/eclass/usr-ldscript.eclass b/eclass/usr-ldscript.eclass
index 4ee129bda836..e35347b6f8cb 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" ;;
+ 5|6|7|8) ;;
+ *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac

inherit multilib toolchain-funcs
--
2.32.0