diff options
| -rw-r--r-- | meta-oe/recipes-devtools/luajit/luajit/clang.patch | 19 |
1 files changed, 0 insertions, 19 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 | ||
