commit:     4b535e8f1ed0f6afd8e23e0e0c99b65bea6163f6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 26 04:41:01 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jul 26 04:41:22 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b535e8f

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 <AT> gentoo.org>

 eclass/flag-o-matic.eclass | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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

Reply via email to