From a5647347df56dc845a617dd103c8aead85c24400 Mon Sep 17 00:00:00 2001 From: arbee Date: Wed, 11 May 2022 17:26:57 -0400 Subject: [PATCH] Initial GCC 12 support for Fedora 36. [R. Belmont] --- scripts/genie.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/genie.lua b/scripts/genie.lua index faea74ace2e..edf86d71850 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -1096,6 +1096,13 @@ end "-Wno-stringop-overread", -- machine/bbc.cpp in GCC 11.1 } end + if version >= 120000 then + buildoptions { + "-Wno-maybe-uninitialized", + "-Wno-uninitialized", -- netlist + "-Wno-address", -- mips3.cpp + } + end end end