commit: 9b0dd696e7af8e480c5c09bd086dc83c45b4cc64
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 1 18:23:10 2022 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue Feb 1 18:23:10 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b0dd696
usr-ldscript.eclass: canonical variable ordering
Signed-off-by: David Seifert <soap <AT> gentoo.org>
eclass/usr-ldscript.eclass | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/eclass/usr-ldscript.eclass b/eclass/usr-ldscript.eclass
index 7842dfc643df..a8229ed2ac2e 100644
--- a/eclass/usr-ldscript.eclass
+++ b/eclass/usr-ldscript.eclass
@@ -7,14 +7,14 @@
# @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
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"