Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Tue, 01 Feb 2022 18:23:31
Message-Id: 1643739790.9b0dd696e7af8e480c5c09bd086dc83c45b4cc64.soap@gentoo
1 commit: 9b0dd696e7af8e480c5c09bd086dc83c45b4cc64
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 1 18:23:10 2022 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 1 18:23:10 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b0dd696
7
8 usr-ldscript.eclass: canonical variable ordering
9
10 Signed-off-by: David Seifert <soap <AT> gentoo.org>
11
12 eclass/usr-ldscript.eclass | 6 +++---
13 1 file changed, 3 insertions(+), 3 deletions(-)
14
15 diff --git a/eclass/usr-ldscript.eclass b/eclass/usr-ldscript.eclass
16 index 7842dfc643df..a8229ed2ac2e 100644
17 --- a/eclass/usr-ldscript.eclass
18 +++ b/eclass/usr-ldscript.eclass
19 @@ -7,14 +7,14 @@
20 # @SUPPORTED_EAPIS: 6 7 8
21 # @BLURB: Defines the gen_usr_ldscript function.
22
23 -if [[ -z ${_USR_LDSCRIPT_ECLASS} ]]; then
24 -_USR_LDSCRIPT_ECLASS=1
25 -
26 case ${EAPI} in
27 6|7|8) ;;
28 *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
29 esac
30
31 +if [[ -z ${_USR_LDSCRIPT_ECLASS} ]]; then
32 +_USR_LDSCRIPT_ECLASS=1
33 +
34 inherit multilib toolchain-funcs
35
36 IUSE="split-usr"