rspamd: fix builds on non-x86_64-linux platforms
LuaJIT is built in rspamd only on x86_64-linux, and LuaJIT support became enabled by default in 2.6, breaking builds without it. This commit explicitly disables LuaJIT support on non-x86_64 architectures.
This commit is contained in:
parent
ad37c2c445
commit
71998ddc33
@ -33,7 +33,8 @@ stdenv.mkDerivation rec {
|
||||
"-DLOGDIR=/var/log/rspamd"
|
||||
"-DLOCAL_CONFDIR=/etc/rspamd"
|
||||
"-DENABLE_JEMALLOC=ON"
|
||||
] ++ lib.optional withHyperscan "-DENABLE_HYPERSCAN=ON";
|
||||
] ++ lib.optional withHyperscan "-DENABLE_HYPERSCAN=ON"
|
||||
++ lib.optional (!withLuaJIT) "-DENABLE_LUAJIT=OFF";
|
||||
|
||||
passthru.tests.rspamd = nixosTests.rspamd;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user