From 0e620f1fa147a7d510f6c499e5062d5dec063dcb Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 20 Mar 2021 15:23:22 -0700 Subject: [PATCH] luajit: fix compilation with host clang It errors out with this section. Signed-off-by: Rosen Penev --- lang/luajit/patches/020-clang.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 lang/luajit/patches/020-clang.patch 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 + -- 2.30.2