diff options
author | 2018-05-01 21:40:43 -0400 | |
---|---|---|
committer | 2018-05-01 21:40:43 -0400 | |
commit | 73beb0721346fc588e9629f1b5fc668072ecc71f (patch) | |
tree | 8792782adeed7adc3768d2e18bd5d33087c63644 /scripts/genie.lua | |
parent | e651a1678d69a095d7411c3863df34c66bbb29ac (diff) |
don't use C++ flags on plain C files (nw)
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r-- | scripts/genie.lua | 4 |
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 |