summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/genie.lua
diff options
context:
space:
mode:
author arbee <rb6502@users.noreply.github.com>2018-05-01 21:40:43 -0400
committer arbee <rb6502@users.noreply.github.com>2018-05-01 21:40:43 -0400
commit73beb0721346fc588e9629f1b5fc668072ecc71f (patch)
tree8792782adeed7adc3768d2e18bd5d33087c63644 /scripts/genie.lua
parente651a1678d69a095d7411c3863df34c66bbb29ac (diff)
don't use C++ flags on plain C files (nw)
Diffstat (limited to 'scripts/genie.lua')
-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