summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/genie.lua
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-03-11 13:09:47 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-03-11 13:09:47 +0100
commite6142ef5581e7ddd9f4c684b7dce6ef154bcba9d (patch)
tree643616272048095f713ea0d4d3f328dfb35b7221 /scripts/genie.lua
parenta880f01b17e4d268a25b4646d580b736d14b9e02 (diff)
Support for aarch64 (nw)
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r--scripts/genie.lua9
1 files changed, 9 insertions, 0 deletions
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"]