diff options
author | Rosen Penev <rosenp@gmail.com> | 2021-03-20 15:23:22 -0700 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2021-03-26 11:25:42 -0700 |
commit | 0e620f1fa147a7d510f6c499e5062d5dec063dcb (patch) | |
tree | 7f4ce53bf8cab5d6be61f44ddd7a2c1648712aed /lang/luajit/patches | |
parent | cf4e026e2636072149893aa016eb5e08c8af6566 (diff) |
luajit: fix compilation with host clang
It errors out with this section.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'lang/luajit/patches')
-rw-r--r-- | lang/luajit/patches/020-clang.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lang/luajit/patches/020-clang.patch b/lang/luajit/patches/020-clang.patch new file mode 100644 index 000000000..e0a537435 --- /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 + |