summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-08-08 11:17:24 +0100
committerSam James <sam@gentoo.org>2024-08-08 11:29:39 +0100
commitd4c98533530d9478391b0593fd84cf37ac9c97cb (patch)
tree7bfcabe4f3fab14eaf244aab217616aff2cb6922 /eclass
parenttoolchain.eclass: add note re (intended) duplication of CFLAGS et. al (diff)
downloadgentoo-d4c98533530d9478391b0593fd84cf37ac9c97cb.tar.gz
gentoo-d4c98533530d9478391b0593fd84cf37ac9c97cb.tar.bz2
gentoo-d4c98533530d9478391b0593fd84cf37ac9c97cb.zip
toolchain.eclass: try to silence remaining flag vs FE issues
This is the Fortran issue I mentioned in 6df977928704e77d2f672d3890ceadc8ba837ab5. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass4
1 files changed, 4 insertions, 0 deletions
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