Created attachment 210410 [details]
Tested to build on powerpc64.
Created attachment 210635 [details]
Looks like my original patch is wrong, some Lua is needed after all. Since I don't know how to use Luajit on some platforms and Lua on others apart from specifying each one, make an option for it.
A commit references this bug:
Date: Mon Jan 27 21:21:33 UTC 2020
New revision: 524446
mail/rspamd*: use luajit only on architectures where it's supported
Otherwise use standard Lua.
Approved by: vsevolod (maintainer timeout)