From a15e8dc7444560123d7d4be1bccb19afd5b611d0 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 22 Oct 2024 04:04:46 +0100 Subject: gentoo auto-resync : 22:10:2024 - 04:04:46 --- eclass/toolchain.eclass | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'eclass/toolchain.eclass') diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 6bad1def19f4..dd4130ef9b85 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1944,6 +1944,10 @@ gcc_do_filter_flags() { filter-flags -Walloc-size fi + if ver_test -lt 15.1 ; then + filter-flags -fdiagnostics-explain-harder + fi + # Please use USE=lto instead (bug #906007). filter-lto -- cgit v1.2.3