Browse Source

luajit: fix compilation with host clang

It errors out with this section.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 4 years ago
parent
commit
0e620f1fa1
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      lang/luajit/patches/020-clang.patch

+ 12
- 0
lang/luajit/patches/020-clang.patch View 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…
Cancel
Save