diff options
author | 2023-04-29 21:46:16 -0400 | |
---|---|---|
committer | 2023-04-29 21:46:16 -0400 | |
commit | e17706aec2498338d0e4b852e7872e7b720ee236 (patch) | |
tree | 84a9d6431be6b4940d996bc1e163ad5e21152256 /scripts/genie.lua | |
parent | 88b53d28a692a5b0b44df8f29c0eeb38ce3c2216 (diff) |
Support GCC 13.1 / Fedora 38 [R. Belmont]
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r-- | scripts/genie.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua index 72a163219e0..b2d9a291650 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -1104,6 +1104,15 @@ end "-Wno-error=uninitialized", -- netlist } end + if version >= 130000 then + buildoptions_c { + "-Wno-dangling-pointer", + } + buildoptions_cpp { + "-Wno-dangling-reference", + "-Wno-dangling-pointer", + } + end end end |