From d4c98533530d9478391b0593fd84cf37ac9c97cb Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 8 Aug 2024 11:17:24 +0100 Subject: toolchain.eclass: try to silence remaining flag vs FE issues This is the Fortran issue I mentioned in 6df977928704e77d2f672d3890ceadc8ba837ab5. Signed-off-by: Sam James --- eclass/toolchain.eclass | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 37db6e0165f4..9bbe0cb7e0af 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1936,6 +1936,10 @@ toolchain_src_test() { # tests too. append-flags -Wno-trampolines + # Avoid confusing tests like Fortran/C interop ones where + # CFLAGS are used. + append-flags -Wno-complain-wrong-lang + # Issues with Ada tests: # gnat.dg/align_max.adb # gnat.dg/trampoline4.adb -- cgit v1.2.3-65-gdbad