mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-16 22:45:05 +00:00
LuaJIT: Upgrade 2.0.0 -> 2.0.1
Fix stripping related warnings Drop foldarith_for_spe patch not neded anymore QA Error about elocations in .text are still there like 2.0.0 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
a289eb906e
commit
6edc36d790
@ -1,13 +0,0 @@
|
|||||||
Index: LuaJIT-2.0.0/src/lj_vmmath.c
|
|
||||||
===================================================================
|
|
||||||
--- LuaJIT-2.0.0.orig/src/lj_vmmath.c 2012-11-08 02:10:00.000000000 -0800
|
|
||||||
+++ LuaJIT-2.0.0/src/lj_vmmath.c 2012-11-19 22:15:28.613527136 -0800
|
|
||||||
@@ -22,7 +22,7 @@
|
|
||||||
LJ_FUNCA double lj_vm_tanh(double x) { return tanh(x); }
|
|
||||||
#endif
|
|
||||||
|
|
||||||
-#if !LJ_TARGET_X86ORX64
|
|
||||||
+#if !(LJ_TARGET_X86ORX64 || LJ_TARGET_PPCSPE)
|
|
||||||
double lj_vm_foldarith(double x, double y, int op)
|
|
||||||
{
|
|
||||||
switch (op) {
|
|
||||||
@ -0,0 +1,33 @@
|
|||||||
|
From 528009f5ca0685c95ef27f6c8957160499c0576a Mon Sep 17 00:00:00 2001
|
||||||
|
From: Khem Raj <raj.khem@gmail.com>
|
||||||
|
Date: Fri, 10 May 2013 10:42:45 -0700
|
||||||
|
Subject: [PATCH] Do not strip automatically, this leaves the stripping
|
||||||
|
busines to OE
|
||||||
|
|
||||||
|
Upstream-Status: Inappropriate [OE-Specific]
|
||||||
|
|
||||||
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
|
---
|
||||||
|
src/Makefile | 2 --
|
||||||
|
1 file changed, 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/Makefile b/src/Makefile
|
||||||
|
index 278324a..5ecd6d5 100644
|
||||||
|
--- a/src/Makefile
|
||||||
|
+++ b/src/Makefile
|
||||||
|
@@ -665,12 +665,10 @@ $(LUAJIT_A): $(LJVMCORE_O)
|
||||||
|
$(LUAJIT_SO): $(LJVMCORE_O)
|
||||||
|
$(E) "DYNLINK $@"
|
||||||
|
$(Q)$(TARGET_LD) $(TARGET_ASHLDFLAGS) -o $@ $(LJVMCORE_DYNO) $(TARGET_ALIBS)
|
||||||
|
- $(Q)$(TARGET_STRIP) $@
|
||||||
|
|
||||||
|
$(LUAJIT_T): $(TARGET_O) $(LUAJIT_O) $(TARGET_DEP)
|
||||||
|
$(E) "LINK $@"
|
||||||
|
$(Q)$(TARGET_LD) $(TARGET_ALDFLAGS) -o $@ $(LUAJIT_O) $(TARGET_O) $(TARGET_ALIBS)
|
||||||
|
- $(Q)$(TARGET_STRIP) $@
|
||||||
|
$(E) "OK Successfully built LuaJIT"
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
--
|
||||||
|
1.7.9.5
|
||||||
|
|
||||||
@ -1,15 +1,14 @@
|
|||||||
DESCRIPTION = " a Just-In-Time Compiler for Lua"
|
DESCRIPTION = " a Just-In-Time Compiler for Lua"
|
||||||
LICENSE = "MIT"
|
LICENSE = "MIT"
|
||||||
LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=9511885992e4900014e3b13ca6372b7d"
|
LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=1793ef52a5d577794cd886a501a7f861"
|
||||||
HOMEPAGE = "http://luajit.org"
|
HOMEPAGE = "http://luajit.org"
|
||||||
|
|
||||||
DEPENDS += "lua5.1"
|
DEPENDS += "lua5.1"
|
||||||
PR = "r2"
|
|
||||||
SRC_URI = "http://luajit.org/download/LuaJIT-${PV}.tar.gz \
|
SRC_URI = "http://luajit.org/download/LuaJIT-${PV}.tar.gz \
|
||||||
file://disable_lj_vm_foldarith_for_spe.patch \
|
file://0001-Do-not-strip-automatically-this-leaves-the-stripping.patch \
|
||||||
"
|
"
|
||||||
SRC_URI[md5sum] = "97a2b87cc0490784f54b64cfb3b8f5ad"
|
SRC_URI[md5sum] = "85e406e8829602988eb1233a82e29f1f"
|
||||||
SRC_URI[sha256sum] = "deaed645c4a093c5fb250c30c9933c9131ee05c94b13262d58f6e0b60b338c15"
|
SRC_URI[sha256sum] = "2371cceb53453d8a7b36451e6a0ccdb66236924545d6042ddd4c34e9668990c0"
|
||||||
|
|
||||||
S = "${WORKDIR}/LuaJIT-${PV}"
|
S = "${WORKDIR}/LuaJIT-${PV}"
|
||||||
|
|
||||||
@ -43,7 +42,7 @@ do_install () {
|
|||||||
PACKAGES += 'luajit-common'
|
PACKAGES += 'luajit-common'
|
||||||
|
|
||||||
FILES_${PN} += "${libdir}/libluajit-5.1.so.2 \
|
FILES_${PN} += "${libdir}/libluajit-5.1.so.2 \
|
||||||
${libdir}/libluajit-5.1.so.2.0.0 \
|
${libdir}/libluajit-5.1.so.${PV} \
|
||||||
"
|
"
|
||||||
FILES_${PN}-dev += "${libdir}/libluajit-5.1.a \
|
FILES_${PN}-dev += "${libdir}/libluajit-5.1.a \
|
||||||
${libdir}/libluajit-5.1.so \
|
${libdir}/libluajit-5.1.so \
|
||||||
Loading…
x
Reference in New Issue
Block a user