From fe162f615b8e5639e5255abe1522bb6a7bb81510 Mon Sep 17 00:00:00 2001 From: Julian Sikorski Date: Thu, 14 Jun 2018 01:21:30 +0200 Subject: Enable building on riscv64 (#3655) * First attempt at enabling building on riscv64 * PTR64=1 needs to be defined on riscv64 otherwise build fails --- scripts/genie.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'scripts/genie.lua') diff --git a/scripts/genie.lua b/scripts/genie.lua index 7cf0396b580..ed289f73396 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -1061,6 +1061,12 @@ if (_OPTIONS["PLATFORM"]=="arm64") then } end +if (_OPTIONS["PLATFORM"]=="riscv64") then + defines { + "PTR64=1", + } +end + if (_OPTIONS["PLATFORM"]=="mips64") then defines { "PTR64=1", -- cgit v1.2.3-70-g09d2