0
0
mirror of https://github.com/openwrt/packages.git synced 2025-02-07 05:49:50 +00:00
packages/lang/luajit/patches/020-clang.patch
Rosen Penev 0e620f1fa1 luajit: fix compilation with host clang
It errors out with this section.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-26 11:25:42 -07:00

13 lines
228 B
Diff

--- 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