app-antivirus/clamav: remove --disable-gcc-vcheck from configure flags.
authorMichael Orlitzky <mjo@gentoo.org>
Wed, 16 Oct 2019 11:24:26 +0000 (07:24 -0400)
committerMichael Orlitzky <mjo@gentoo.org>
Wed, 16 Oct 2019 11:31:31 +0000 (07:31 -0400)
commit5114e1838d8531ebce400e668efec476b1c0815c
treeb4f6f79598f23b64b51a1839fc33dcc7bab95d69
parenta1d595f362629e6aa5345f3e39416072810565aa
app-antivirus/clamav: remove --disable-gcc-vcheck from configure flags.

Our ClamAV builds have passed the --disable-gcc-vcheck flag to its
configure script for a while. This is intended to skip a (pointless,
on Gentoo) test for old broken versions of GCC, but accidentally leads
to "-O0" being inserted into the CFLAGS. That in turn causes noticeable
performance degradation.

Since the GCC version check is harmless aside from some wasted time,
it seems the simplest solution here is to drop "--disable-gcc-vcheck"
from the build. This commit adds a new revision of the latest unstable
version that does just that.

Closes: https://bugs.gentoo.org/670828
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
app-antivirus/clamav/clamav-0.102.0-r1.ebuild [moved from app-antivirus/clamav/clamav-0.102.0.ebuild with 95% similarity]