summaryrefslogtreecommitdiffstats
path: root/docs/release/scripts/genie.lua
diff options
context:
space:
mode:
Diffstat (limited to 'docs/release/scripts/genie.lua')
-rw-r--r--docs/release/scripts/genie.lua21
1 files changed, 12 insertions, 9 deletions
diff --git a/docs/release/scripts/genie.lua b/docs/release/scripts/genie.lua
index 9338567cb54..7cf0396b580 100644
--- a/docs/release/scripts/genie.lua
+++ b/docs/release/scripts/genie.lua
@@ -414,14 +414,6 @@ if not _OPTIONS["BIGENDIAN"] then
_OPTIONS["BIGENDIAN"] = "0"
end
-if not _OPTIONS["NOASM"] then
- if _OPTIONS["targetos"]=="emscripten" then
- _OPTIONS["NOASM"] = "1"
- else
- _OPTIONS["NOASM"] = "0"
- end
-end
-
if _OPTIONS["NOASM"]=="1" and not _OPTIONS["FORCE_DRC_C_BACKEND"] then
_OPTIONS["FORCE_DRC_C_BACKEND"] = "1"
end
@@ -575,7 +567,8 @@ configuration { "Debug" }
if _OPTIONS["FASTDEBUG"]=="1" then
defines {
- "MAME_DEBUG_FAST"
+ "MAME_DEBUG_FAST",
+ "NDEBUG",
}
end
@@ -1034,6 +1027,16 @@ end
-- 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",
}
+ if (version >= 80000) then
+ buildoptions {
+ "-Wno-format-overflow", -- try machine/bfm_sc45_helper.cpp in GCC 8.0.1, among others
+ "-Wno-stringop-truncation", -- ImGui again
+ "-Wno-stringop-overflow", -- formats/victor9k_dsk.cpp bugs the compiler
+ }
+ buildoptions_cpp {
+ "-Wno-class-memaccess", -- many instances in ImGui and BGFX
+ }
+ end
end
end