commit:     24e2fdbb99bbaea415908cc78465a75d20eefbbe
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  7 18:32:01 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar  7 18:32:14 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24e2fdbb

toolchain.eclass: fix -Wstringop-overread filter

It was added in 11, not 10.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/toolchain.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 693a356d54a8..5cffbd7428ca 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -2104,7 +2104,7 @@ gcc_do_filter_flags() {
        # https://gcc.gnu.org/PR100431
        filter-flags -Werror=format-security
 
-       if ver_test -lt 10.1 ; then
+       if ver_test -lt 11.1 ; then
                filter-flags '-fdiagnostics-urls=*'
                filter-flags '-Wstringop-overread'
        fi

Reply via email to