diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2021-01-22 15:16:02 -0500 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2021-01-22 15:16:02 -0500 |
commit | 1eb22dd22c69b042dc2d24d906d251552d5795ba (patch) | |
tree | e84bab9bf8c434db3c1ebb3dbb5f0d0a01fc88ba | |
parent | a7aaa39ec65720cc06cff9c3243d7c4a4053ab3e (diff) |
genie.lua: Attempted fix for GCC build
-rw-r--r-- | scripts/genie.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua index c479fe34bfd..99af9794ed9 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -1098,6 +1098,7 @@ end "-Wno-unused-result", -- needed for fgets,fread on linux -- array bounds checking seems to be buggy in 4.8.1 (try it on video/stvvdp1.c and video/model1.c without -Wno-array-bounds) "-Wno-array-bounds", + "-Wno-attributes", -- GCC fails to recognize some uses of [[maybe_unused]] } if (version >= 80000) then buildoptions { |