luajit: fix compilation with host clang
It errors out with this section.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 0e620f1fa1
)
This commit is contained in:
parent
29c5a802c4
commit
be2f1b2c00
1 changed files with 12 additions and 0 deletions
12
lang/luajit/patches/020-clang.patch
Normal file
12
lang/luajit/patches/020-clang.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- a/src/lj_arch.h
|
||||
+++ b/src/lj_arch.h
|
||||
@@ -391,9 +391,6 @@
|
||||
#endif
|
||||
#endif
|
||||
#elif !LJ_TARGET_PS3
|
||||
-#if (__GNUC__ < 4) || ((__GNUC__ == 4) && __GNUC_MINOR__ < 3)
|
||||
-#error "Need at least GCC 4.3 or newer"
|
||||
-#endif
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
Reference in a new issue