summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-03-14 13:42:21 +0100
committerMichał Górny <mgorny@gentoo.org>2019-03-14 13:42:21 +0100
commit44cdda1fc07143aa39c74c1d411bec7a8f8c468a (patch)
tree0e60b4929619fae95ead35d045f007529ea3ff82 /eclass
parentapp-doc/eclass-manpages: Switch the live ebuild to use git (diff)
downloadgentoo-44cdda1fc07143aa39c74c1d411bec7a8f8c468a.tar.gz
gentoo-44cdda1fc07143aa39c74c1d411bec7a8f8c468a.tar.bz2
gentoo-44cdda1fc07143aa39c74c1d411bec7a8f8c468a.zip
toolchain-funcs.eclass: Fix eclassdoc for tc-detect-is-softfloat
Closes: https://bugs.gentoo.org/679930 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain-funcs.eclass8
1 files changed, 3 insertions, 5 deletions
diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass
index 12ed132c48f..27324b0ca60 100644
--- a/eclass/toolchain-funcs.eclass
+++ b/eclass/toolchain-funcs.eclass
@@ -218,13 +218,11 @@ tc-cpp-is-true() {
}
# @FUNCTION: tc-detect-is-softfloat
-# @RETURN:
-# Shell true if (positive or negative) detection was possible, shell
-# false otherwise. Also outputs a string when detection succeeds, see
-# tc-is-softfloat for the possible values.
+# @RETURN: Shell true if detection was possible, shell false otherwise
# @DESCRIPTION:
# Detect whether the CTARGET (or CHOST) toolchain is a softfloat based
-# one by examining the toolchain's output, if possible.
+# one by examining the toolchain's output, if possible. Outputs a value
+# alike tc-is-softfloat if detection was possible.
tc-detect-is-softfloat() {
# If fetching CPP falls back to the default (gcc -E) then fail
# detection as this may not be the correct toolchain.