toolchain.eclass: fix -Wstringop-overread filter

It was added in 11, not 10.

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-03-07 18:32:14 +00:00
parent daa8bd2971
commit 24e2fdbb99
+1 -1
View File
@@ -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