summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/genie.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r--scripts/genie.lua6
1 files changed, 6 insertions, 0 deletions
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",