summaryrefslogtreecommitdiffstats
path: root/docs/release/scripts/genie.lua
diff options
context:
space:
mode:
author Robbbert <Robbbert@users.noreply.github.com>2018-05-30 09:52:39 +1000
committer Robbbert <Robbbert@users.noreply.github.com>2018-05-30 09:52:39 +1000
commitc7b221458cca9ca3bde977ae042281879af76ca5 (patch)
tree9f963bea4c9902bc741e04262184354b22dd3392 /docs/release/scripts/genie.lua
parent1c5773d0da60e89ec39ea2723aa7831ba3d13ab9 (diff)
0.198 Release filestag198
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