diff options
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r-- | scripts/genie.lua | 13 |
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"] |