Skip to contentSkip to conversation

package/clamav: fix clamsubmit linking

PATCH New Fabrice Fontaine 2 participants 2 messages Oct 14, 2019

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 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

---
Changes v1 -> v2 (after review of Arnout Vandecappelle):
- Drop non upstreamable patch and set OBJC

 package/clamav/clamav.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/clamav/clamav.mk +2 -1
index 18aedd7591..5caab1e0f6 100644
@@ -22,7 +22,8 @@ CLAMAV_DEPENDENCIES = \
 # mmap cannot be detected when cross-compiling, needed for mempool support
 CLAMAV_CONF_ENV = \
 	ac_cv_c_mmap_private=yes \
-	have_cv_ipv6=yes
+	have_cv_ipv6=yes \
+	OBJC=$(TARGET_CC)
 
 ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
 CLAMAV_LIBS += -latomic
Signature · 1 line
2.23.0
#1 lore raw

PATCH v2 1/1 package/clamav: fix clamsubmit linking

Quoted 10 lines · On Mon, 14 Oct 2019 23:05:14 +0200 Fabrice Fontaine…

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

---
Changes v1 -> v2 (after review of Arnout Vandecappelle):
- Drop non upstreamable patch and set OBJC

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com