mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
Add luajit.
This is source-compatible with lua-5.1, but faster! There is also a separate native interface with less overhead.
This commit is contained in:
31
dev-lang/luajit/patches/luajit-2.0.2.patchset
Normal file
31
dev-lang/luajit/patches/luajit-2.0.2.patchset
Normal file
@@ -0,0 +1,31 @@
|
||||
From 1e25583ec6480560263118a34c5b5ad86f3e9aca Mon Sep 17 00:00:00 2001
|
||||
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
||||
Date: Sun, 12 Jan 2014 22:49:01 +0100
|
||||
Subject: Remove hardcoded -lm.
|
||||
|
||||
|
||||
diff --git a/src/Makefile b/src/Makefile
|
||||
index 999e280..27fc411 100644
|
||||
--- a/src/Makefile
|
||||
+++ b/src/Makefile
|
||||
@@ -198,7 +198,7 @@ TARGET_DYNXLDOPTS=
|
||||
TARGET_LFSFLAGS= -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
|
||||
TARGET_XCFLAGS= $(TARGET_LFSFLAGS) -U_FORTIFY_SOURCE
|
||||
TARGET_XLDFLAGS=
|
||||
-TARGET_XLIBS= -lm
|
||||
+#TARGET_XLIBS= -lm
|
||||
TARGET_TCFLAGS= $(CCOPTIONS) $(TARGET_XCFLAGS) $(TARGET_FLAGS) $(TARGET_CFLAGS)
|
||||
TARGET_ACFLAGS= $(CCOPTIONS) $(TARGET_XCFLAGS) $(TARGET_FLAGS) $(TARGET_CFLAGS)
|
||||
TARGET_ALDFLAGS= $(LDOPTIONS) $(TARGET_XLDFLAGS) $(TARGET_FLAGS) $(TARGET_LDFLAGS)
|
||||
@@ -351,7 +351,7 @@ endif
|
||||
##############################################################################
|
||||
|
||||
MINILUA_O= host/minilua.o
|
||||
-MINILUA_LIBS= -lm
|
||||
+#MINILUA_LIBS= -lm
|
||||
MINILUA_T= host/minilua
|
||||
MINILUA_X= $(MINILUA_T)
|
||||
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
Reference in New Issue
Block a user