diff options
author | David Seifert <soap@gentoo.org> | 2022-02-01 19:23:10 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2022-02-01 19:23:10 +0100 |
commit | 9b0dd696e7af8e480c5c09bd086dc83c45b4cc64 (patch) | |
tree | 510b040b9cc638fcd2aec7a13ce3a8b3bc2d7543 /eclass | |
parent | usr-ldscript.eclass: remove EAPI 5 (diff) | |
download | gentoo-9b0dd696e7af8e480c5c09bd086dc83c45b4cc64.tar.gz gentoo-9b0dd696e7af8e480c5c09bd086dc83c45b4cc64.tar.bz2 gentoo-9b0dd696e7af8e480c5c09bd086dc83c45b4cc64.zip |
usr-ldscript.eclass: canonical variable ordering
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/usr-ldscript.eclass | 6 |
1 files 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" |