From e6142ef5581e7ddd9f4c684b7dce6ef154bcba9d Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Fri, 11 Mar 2016 13:09:47 +0100 Subject: Support for aarch64 (nw) --- scripts/genie.lua | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'scripts/genie.lua') diff --git a/scripts/genie.lua b/scripts/genie.lua index ef5c945bb64..9d686e1f274 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -1025,6 +1025,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"] -- cgit v1.2.3-70-g09d2 From f2ce3142060099005924ca326184746c474c3a65 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Fri, 11 Mar 2016 19:30:37 +0100 Subject: mingw clang build is working, there seams to still be some issue with optimization (nw) --- scripts/genie.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts/genie.lua') diff --git a/scripts/genie.lua b/scripts/genie.lua index 9d686e1f274..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 -- cgit v1.2.3-70-g09d2