commit:     166dd3575927fedab8de9a79b448b0eaf76325d9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 23 20:35:52 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jul 23 20:37:41 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=166dd357

toolchain.eclass: adapt -fdiagnostics-details filter again

The flag is now named -fdiagnostics-show-context=N.

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 274789559d5e..dbdd9b24c01b 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -2178,7 +2178,7 @@ gcc_do_filter_flags() {
        fi
 
        if ver_test -lt 16.1 ; then
-               filter-flags -fdiagnostics-details
+               filter-flags '-fdiagnostics-show-context=*'
        fi
 
        # Ada: PR116226

Reply via email to