]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
clamav: Disable llvm support
authorStefan Schantl <stefan.schantl@ipfire.org>
Thu, 4 Jul 2019 13:44:05 +0000 (15:44 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 4 Jul 2019 03:45:11 +0000 (04:45 +0100)
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 <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
clamav/clamav.nm

index 9a550544e76d1a222b664fe816dbf23e187c759a..9abe6c40ed5a81881b62ce1e9e087a4e1f337d39 100644 (file)
@@ -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,