diff options
Diffstat (limited to 'meta-oe/recipes-devtools/luajit')
-rw-r--r-- | meta-oe/recipes-devtools/luajit/luajit/clang.patch | 19 | ||||
-rw-r--r-- | meta-oe/recipes-devtools/luajit/luajit_git.bb | 7 |
2 files changed, 3 insertions, 23 deletions
diff --git a/meta-oe/recipes-devtools/luajit/luajit/clang.patch b/meta-oe/recipes-devtools/luajit/luajit/clang.patch deleted file mode 100644 index 807cc4417f..0000000000 --- a/meta-oe/recipes-devtools/luajit/luajit/clang.patch +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | clang pretends to be gcc 4.2.0 which is a big lie when it comes | ||
2 | to features, its same as latest gcc | ||
3 | |||
4 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
5 | Upstream-Status: Pending | ||
6 | |||
7 | Index: LuaJIT-2.0.5/src/lj_arch.h | ||
8 | =================================================================== | ||
9 | --- LuaJIT-2.0.5.orig/src/lj_arch.h | ||
10 | +++ LuaJIT-2.0.5/src/lj_arch.h | ||
11 | @@ -436,7 +436,7 @@ | ||
12 | #endif | ||
13 | #endif | ||
14 | #elif !LJ_TARGET_PS3 | ||
15 | -#if (__GNUC__ < 4) || ((__GNUC__ == 4) && __GNUC_MINOR__ < 3) | ||
16 | +#if (__GNUC__ < 4) || ((__GNUC__ == 4) && __GNUC_MINOR__ < 3) && !defined(__clang__) | ||
17 | #error "Need at least GCC 4.3 or newer" | ||
18 | #endif | ||
19 | #endif | ||
diff --git a/meta-oe/recipes-devtools/luajit/luajit_git.bb b/meta-oe/recipes-devtools/luajit/luajit_git.bb index 240271d410..f4a1345ab2 100644 --- a/meta-oe/recipes-devtools/luajit/luajit_git.bb +++ b/meta-oe/recipes-devtools/luajit/luajit_git.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | SUMMARY = "Just-In-Time Compiler for Lua" | 1 | SUMMARY = "Just-In-Time Compiler for Lua" |
2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
3 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=076b97f5c7e61532f7f6f3865f04da57" | 3 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d421a5e2a24207f5e260537399a9a38b" |
4 | HOMEPAGE = "http://luajit.org" | 4 | HOMEPAGE = "http://luajit.org" |
5 | 5 | ||
6 | SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http;branch=v2.1 \ | 6 | SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http;branch=v2.1 \ |
@@ -9,9 +9,8 @@ SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http;branch=v2.1 \ | |||
9 | " | 9 | " |
10 | 10 | ||
11 | PV = "2.1" | 11 | PV = "2.1" |
12 | SRCREV = "c525bcb9024510cad9e170e12b6209aedb330f83" | 12 | SRCREV = "538a82133ad6fddfd0ca64de167c4aca3bc1a2da" |
13 | 13 | ||
14 | S = "${WORKDIR}/git" | ||
15 | 14 | ||
16 | inherit pkgconfig binconfig siteinfo | 15 | inherit pkgconfig binconfig siteinfo |
17 | 16 | ||
@@ -21,7 +20,7 @@ BBCLASSEXTEND = "native" | |||
21 | # Host luajit needs to be compiled with the same pointer size | 20 | # Host luajit needs to be compiled with the same pointer size |
22 | # If you want to cross-compile to any 32 bit target on an x64 OS, | 21 | # If you want to cross-compile to any 32 bit target on an x64 OS, |
23 | # you need to install the multilib development package (e.g. | 22 | # you need to install the multilib development package (e.g. |
24 | # libc6-dev-i386 on Debian/Ubuntu) and build a 32 bit host part | 23 | # libc6-dev:i386 on Debian/Ubuntu) and build a 32 bit host part |
25 | # (HOST_CC="gcc -m32"). | 24 | # (HOST_CC="gcc -m32"). |
26 | BUILD_CC_ARCH:append = " ${@['-m32',''][d.getVar('SITEINFO_BITS') != '32']}" | 25 | BUILD_CC_ARCH:append = " ${@['-m32',''][d.getVar('SITEINFO_BITS') != '32']}" |
27 | 26 | ||