mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
luajit: Dont use BUILD_LDFLAGS when compiling host binaries
BUILD_LDFLAGS add --dynamic-linker to point to uninative but some binaries in luajit are for 32bit build host, so even if your host has the needed runtime, it will fail to execute because uninative ldso doesn't know about multilib we get cyptic errors like | make[1]: execvp: host/minilua: Accessing a corrupted shared library | make[1]: *** [Makefile:610: host/buildvm_arch.h] Error 127 Switch to using git for SRC_URI, master is pointing to latest 2.0 stable, it gets us all the patches done since last 2.0.5 relases in 2017 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
parent
28abd55f75
commit
ebe6c9570c
|
|
@ -3,14 +3,14 @@ LICENSE = "MIT"
|
|||
LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=10a96c93403affcc34765f4c2612bc22"
|
||||
HOMEPAGE = "http://luajit.org"
|
||||
|
||||
SRC_URI = "http://luajit.org/download/LuaJIT-${PV}.tar.gz \
|
||||
PV .= "+git${SRCPV}"
|
||||
SRCREV = "02b521981a1ab919ff2cd4d9bcaee80baf77dce2"
|
||||
SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http \
|
||||
file://0001-Do-not-strip-automatically-this-leaves-the-stripping.patch \
|
||||
file://clang.patch \
|
||||
"
|
||||
SRC_URI[md5sum] = "48353202cbcacab84ee41a5a70ea0a2c"
|
||||
SRC_URI[sha256sum] = "874b1f8297c697821f561f9b73b57ffd419ed8f4278c82e05b48806d30c1e979"
|
||||
|
||||
S = "${WORKDIR}/LuaJIT-${PV}"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit pkgconfig binconfig siteinfo
|
||||
|
||||
|
|
@ -49,7 +49,6 @@ EXTRA_OEMAKE = "\
|
|||
'TARGET_SHLDFLAGS=${LDFLAGS}' \
|
||||
'HOST_CC=${BUILD_CC}' \
|
||||
'HOST_CFLAGS=${BUILD_CFLAGS}' \
|
||||
'HOST_LDFLAGS=${BUILD_LDFLAGS}' \
|
||||
\
|
||||
'PREFIX=${prefix}' \
|
||||
'MULTILIB=${baselib}' \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user