summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-07-26 05:41:01 +0100
committerSam James <sam@gentoo.org>2022-07-26 05:41:22 +0100
commit4b535e8f1ed0f6afd8e23e0e0c99b65bea6163f6 (patch)
tree9bd4098ed0fc097dd835556794786ad252f84594 /eclass/flag-o-matic.eclass
parentflag-o-matic.eclass: minor style tweaks (diff)
downloadgentoo-4b535e8f1ed0f6afd8e23e0e0c99b65bea6163f6.tar.gz
gentoo-4b535e8f1ed0f6afd8e23e0e0c99b65bea6163f6.tar.bz2
gentoo-4b535e8f1ed0f6afd8e23e0e0c99b65bea6163f6.zip
flag-o-matic.eclass: add bug references re -Qunused-arguments
To ensure we pay attention to these if changing in future (like I've been wondering about) Bug: https://bugs.gentoo.org/712488 Bug: https://bugs.gentoo.org/714742 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/flag-o-matic.eclass')
-rw-r--r--eclass/flag-o-matic.eclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
index 5a724e77637f..14dbd2bf37de 100644
--- a/eclass/flag-o-matic.eclass
+++ b/eclass/flag-o-matic.eclass
@@ -609,7 +609,9 @@ _test-flag-PROG() {
# -Werror makes clang bail out on unused arguments as well;
# try to add -Qunused-arguments to work-around that
# other compilers don't support it but then, it's failure like
- # any other
+ # any other.
+ #
+ # See also bug #712488 and bug #714742.
cmdline+=( -Qunused-arguments )
"${cmdline[@]}" &>/dev/null
fi