package/clamav: fix clamsubmit linking

As suggested by Arnout in review of
https://patchwork.ozlabs.org/patch/1175732/, set OBJC to $(TARGET_CC)

Fixes:
 - http://autobuild.buildroot.org/results/49973b2283c65de5155deaf633cd6569a37af375

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2019-10-14 23:05:14 +02:00 committed by Thomas Petazzoni
parent cbc744db37
commit 0ebf031102

View File

@ -22,7 +22,8 @@ CLAMAV_DEPENDENCIES = \
# mmap cannot be detected when cross-compiling, needed for mempool support # mmap cannot be detected when cross-compiling, needed for mempool support
CLAMAV_CONF_ENV = \ CLAMAV_CONF_ENV = \
ac_cv_c_mmap_private=yes \ ac_cv_c_mmap_private=yes \
have_cv_ipv6=yes have_cv_ipv6=yes \
OBJC=$(TARGET_CC)
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
CLAMAV_LIBS += -latomic CLAMAV_LIBS += -latomic