Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Thu, 14 Mar 2019 12:43:07
Message-Id: 1552567341.44cdda1fc07143aa39c74c1d411bec7a8f8c468a.mgorny@gentoo
1 commit: 44cdda1fc07143aa39c74c1d411bec7a8f8c468a
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 14 12:42:21 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 14 12:42:21 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44cdda1f
7
8 toolchain-funcs.eclass: Fix eclassdoc for tc-detect-is-softfloat
9
10 Closes: https://bugs.gentoo.org/679930
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 eclass/toolchain-funcs.eclass | 8 +++-----
14 1 file changed, 3 insertions(+), 5 deletions(-)
15
16 diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass
17 index 12ed132c48f..27324b0ca60 100644
18 --- a/eclass/toolchain-funcs.eclass
19 +++ b/eclass/toolchain-funcs.eclass
20 @@ -218,13 +218,11 @@ tc-cpp-is-true() {
21 }
22
23 # @FUNCTION: tc-detect-is-softfloat
24 -# @RETURN:
25 -# Shell true if (positive or negative) detection was possible, shell
26 -# false otherwise. Also outputs a string when detection succeeds, see
27 -# tc-is-softfloat for the possible values.
28 +# @RETURN: Shell true if detection was possible, shell false otherwise
29 # @DESCRIPTION:
30 # Detect whether the CTARGET (or CHOST) toolchain is a softfloat based
31 -# one by examining the toolchain's output, if possible.
32 +# one by examining the toolchain's output, if possible. Outputs a value
33 +# alike tc-is-softfloat if detection was possible.
34 tc-detect-is-softfloat() {
35 # If fetching CPP falls back to the default (gcc -E) then fail
36 # detection as this may not be the correct toolchain.