1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-30 14:17:34 +00:00

Ports: Add luajit port

This commit is contained in:
circl 2022-03-19 16:42:18 +01:00 committed by Linus Groh
parent 8cc757b92b
commit ce5f34f153
5 changed files with 79 additions and 0 deletions

View file

@ -0,0 +1,26 @@
From a8fd0e7a0e83e768acb4503ba06b19875c2b03ab Mon Sep 17 00:00:00 2001
From: circl <circl.lastname@gmail.com>
Date: Sat, 19 Mar 2022 20:07:39 +0100
Subject: [PATCH 2/2] Serenity doesn't have setitimer
---
src/lj_arch.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/lj_arch.h b/src/lj_arch.h
index ba7be19..0bd7b1b 100644
--- a/src/lj_arch.h
+++ b/src/lj_arch.h
@@ -490,6 +490,9 @@
#define LJ_HASFFI 1
#endif
+// FIXME: Disabled due to lack of setitimer
+#define LUAJIT_DISABLE_PROFILE
+
#if defined(LUAJIT_DISABLE_PROFILE)
#define LJ_HASPROFILE 0
#elif LJ_TARGET_POSIX
--
2.32.0