From: Pádraig Brady
Date: Mon, 22 Sep 2025 19:46:33 +0000 (+0100) Subject: build: fix build failure with mismatched pclmul X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=062c16c17ed7b8c5a7c7b4cb719c98525485eb11;p=thirdparty%2Fcoreutils.git 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 --- 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;