From 9a560d6affaff0923e829ec0c608e7d1fdacaf70 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Mon, 15 May 2023 21:51:57 +0200 Subject: [PATCH] package/clamav: fix build on mips64el Fixes: http://autobuild.buildroot.net/results/b64/b640937f35b11ddb9f1e29f0e44040eda8850f26/ 'Could not find specification for target "mips64el-unknown-linux-gnu".' This patch changes -DRUST_COMPILER_TARGET=mips64el-unknown-linux-gnu to -DRUST_COMPILER_TARGET=mips64el-unknown-linux-gnuabi64 Signed-off-by: Bernd Kuhls Signed-off-by: Yann E. MORIN --- package/clamav/clamav.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/clamav/clamav.mk b/package/clamav/clamav.mk index 977b6010b3..68a1799bfc 100644 --- a/package/clamav/clamav.mk +++ b/package/clamav/clamav.mk @@ -54,7 +54,7 @@ CLAMAV_CONF_OPTS = \ -DENABLE_MILTER=OFF \ -DENABLE_TESTS=OFF \ -DHAVE_SYSTEM_LFS_FTS=ON \ - -DRUST_COMPILER_TARGET=$(ARCH)-unknown-$(TARGET_OS)-$(LIBC)$(ABI) \ + -DRUST_COMPILER_TARGET=$(RUSTC_TARGET_NAME) \ -Dtest_run_result=ON \ -Dtest_run_result__TRYRUN_OUTPUT=ON