mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-04 16:10:10 +00:00
Since luajit 2.1.0-beta3 can support architecture aarch64 and the old misses to support aarch64, the patch upgrades to luajit 2.1.0-beta3. Also updated clang.patch to dismiss patch warning: "Hunk #1 succeeded at 436 with fuzz 1 (offset 123 lines)." Signed-off-by: Leo Yan <leo.yan@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
20 lines
605 B
Diff
20 lines
605 B
Diff
clang pretends to be gcc 4.2.0 which is a big lie when it comes
|
|
to features, its same as latest gcc
|
|
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Upstream-Status: Pending
|
|
|
|
Index: LuaJIT-2.0.5/src/lj_arch.h
|
|
===================================================================
|
|
--- LuaJIT-2.0.5.orig/src/lj_arch.h
|
|
+++ LuaJIT-2.0.5/src/lj_arch.h
|
|
@@ -436,7 +436,7 @@
|
|
#endif
|
|
#endif
|
|
#elif !LJ_TARGET_PS3
|
|
-#if (__GNUC__ < 4) || ((__GNUC__ == 4) && __GNUC_MINOR__ < 3)
|
|
+#if (__GNUC__ < 4) || ((__GNUC__ == 4) && __GNUC_MINOR__ < 3) && !defined(__clang__)
|
|
#error "Need at least GCC 4.3 or newer"
|
|
#endif
|
|
#endif
|