From 24e2fdbb99bbaea415908cc78465a75d20eefbbe Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 7 Mar 2025 18:32:01 +0000 Subject: [PATCH] toolchain.eclass: fix -Wstringop-overread filter It was added in 11, not 10. Signed-off-by: Sam James --- eclass/toolchain.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 693a356d54a82..5cffbd7428caa 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