From: Rosen Penev Date: Sat, 20 Mar 2021 22:23:22 +0000 (-0700) Subject: luajit: fix compilation with host clang X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0e620f1fa147a7d510f6c499e5062d5dec063dcb;p=feed%2Fpackages.git luajit: fix compilation with host clang It errors out with this section. Signed-off-by: Rosen Penev --- diff --git a/lang/luajit/patches/020-clang.patch b/lang/luajit/patches/020-clang.patch new file mode 100644 index 0000000000..e0a5374352 --- /dev/null +++ b/lang/luajit/patches/020-clang.patch @@ -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 +