From 062c16c17ed7b8c5a7c7b4cb719c98525485eb11 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?= Date: Mon, 22 Sep 2025 20:46:33 +0100 Subject: [PATCH] build: fix build failure with mismatched pclmul * src/cksum.c (pclmul_supported): In the case where gnulib has pclmul enabled but coreutils does not, ensure we don't reference the coreutils pclmul function. Addresses https://bugs.gnu.org/79491 --- src/cksum.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cksum.c b/src/cksum.c index 3e009febd6..fba33f688d 100644 --- a/src/cksum.c +++ b/src/cksum.c @@ -152,8 +152,10 @@ pclmul_supported (void) (pclmul_enabled ? _("using pclmul hardware support") : _("pclmul support not detected"))); +# if USE_PCLMUL_CRC32 if (pclmul_enabled) return cksum_pclmul; +# endif # endif return nullptr; -- 2.47.3