Gentoo Archives: gentoo-dev

From: David Seifert <soap@g.o>
To: gentoo-dev@l.g.o
Cc: David Seifert <soap@g.o>
Subject: [gentoo-dev] [PATCH 07/12] usr-ldscript.eclass: canonical variable ordering
Date: Sat, 29 Jan 2022 17:34:01
Message-Id: 20220129173130.2533280-7-soap@gentoo.org
In Reply to: [gentoo-dev] [PATCH 01/12] toolchain.eclass: remove EAPI 5 and 6 by David Seifert
1 Signed-off-by: David Seifert <soap@g.o>
2 ---
3 eclass/usr-ldscript.eclass | 6 +++---
4 1 file changed, 3 insertions(+), 3 deletions(-)
5
6 diff --git a/eclass/usr-ldscript.eclass b/eclass/usr-ldscript.eclass
7 index 7842dfc643d..a8229ed2ac2 100644
8 --- a/eclass/usr-ldscript.eclass
9 +++ b/eclass/usr-ldscript.eclass
10 @@ -7,14 +7,14 @@
11 # @SUPPORTED_EAPIS: 6 7 8
12 # @BLURB: Defines the gen_usr_ldscript function.
13
14 -if [[ -z ${_USR_LDSCRIPT_ECLASS} ]]; then
15 -_USR_LDSCRIPT_ECLASS=1
16 -
17 case ${EAPI} in
18 6|7|8) ;;
19 *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
20 esac
21
22 +if [[ -z ${_USR_LDSCRIPT_ECLASS} ]]; then
23 +_USR_LDSCRIPT_ECLASS=1
24 +
25 inherit multilib toolchain-funcs
26
27 IUSE="split-usr"
28 --
29 2.35.0