summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/genie.lua
diff options
context:
space:
mode:
author ImJezze <jezze@gmx.net>2016-03-12 12:31:13 +0100
committer ImJezze <jezze@gmx.net>2016-03-12 12:31:13 +0100
commita026a582f1a0ea8c1ede3acaddacef506ef3f3b0 (patch)
treee31573822f2359677de519f9f3b600d98e8764cd /scripts/genie.lua
parent477d2abd43984f076b7e45f5527591fa8fd0d241 (diff)
parentdcab55bf53b94713a6f72e9633f5101c8dd6c08c (diff)
Merge pull request #15 from mamedev/master
Sync to base master
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r--scripts/genie.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua
index ef5c945bb64..ad60bc79252 100644
--- a/scripts/genie.lua
+++ b/scripts/genie.lua
@@ -805,6 +805,10 @@ end
"-O".. _OPTIONS["OPTIMIZE"],
"-fno-strict-aliasing"
}
+configuration { "mingw-clang" }
+ buildoptions {
+ "-O1", -- without this executable crash often
+ }
-- add the error warning flag
if _OPTIONS["NOWERROR"]==nil then
@@ -1025,6 +1029,15 @@ if (_OPTIONS["PLATFORM"]=="arm") then
}
end
+if (_OPTIONS["PLATFORM"]=="arm64") then
+ buildoptions {
+ "-Wno-cast-align",
+ }
+ defines {
+ "PTR64=1",
+ }
+end
+
local subdir
if (_OPTIONS["target"] == _OPTIONS["subtarget"]) then
subdir = _OPTIONS["osd"] .. "/" .. _OPTIONS["target"]