From f2234b33d7d5159cd3aedfec22752f688a5ebd99 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Thu, 4 Jul 2019 15:44:05 +0200 Subject: [PATCH] clamav: Disable llvm support When enabled, LLVM provides the capability to just-in-time compile ClamAV bytecode signatures. Without LLVM, ClamAV uses a built-in bytecode interpreter to execute bytecode signatures. The mechanism is different, but the results are same and the performance overall is comparable. At present only LLVM versions up to LLVM 3.6.2 are supported by ClamAV, and LLVM 3.6.2 is old enough that newer distributions no longer provide it. Therefore, the ClamAV Devs recommend using the --disable-llvm configure option. Fixes #11601 Signed-off-by: Stefan Schantl Signed-off-by: Michael Tremer --- clamav/clamav.nm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clamav/clamav.nm b/clamav/clamav.nm index 9a550544e..9abe6c40e 100644 --- a/clamav/clamav.nm +++ b/clamav/clamav.nm @@ -5,7 +5,7 @@ name = clamav version = 0.101.2 -release = 1 +release = 2 groups = System Environment/Daemons url = http://www.clamav.net @@ -49,6 +49,7 @@ build --with-user=clamupdate \ --with-group=clamupdate \ --disable-rpath \ + --disable-llvm \ have_cv_ipv6=yes # User and group have to exist to compile the source code, -- 2.39.2