summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--scripts/genie.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua
index 1e232c1187c..c92a7f2d979 100644
--- a/scripts/genie.lua
+++ b/scripts/genie.lua
@@ -1038,9 +1038,11 @@ end
if (version >= 80000) then
buildoptions {
"-Wno-format-overflow", -- try machine/bfm_sc45_helper.cpp in GCC 8.0.1, among others
- "-Wno-class-memaccess", -- many instances in ImGui and BGFX
"-Wno-stringop-truncation", -- ImGui again
}
+ buildoptions_cpp {
+ "-Wno-class-memaccess", -- many instances in ImGui and BGFX
+ }
end
end
end