From 5ce0f7a48bdf5c3b45430850a4487307afac6143 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Wed, 18 Oct 2023 14:30:00 +0300 Subject: liblzma: CRC_USE_GENERIC_FOR_SMALL_INPUTS cannot be used with ifunc. --- src/liblzma/check/crc_common.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/liblzma/check') diff --git a/src/liblzma/check/crc_common.h b/src/liblzma/check/crc_common.h index 0dd4faec..51ddd9d5 100644 --- a/src/liblzma/check/crc_common.h +++ b/src/liblzma/check/crc_common.h @@ -89,7 +89,9 @@ // 16 bytes and CLMUL for bigger inputs. It saves a little in code // size since the special cases for 0-16-byte inputs will be omitted // from the CLMUL code. -# define CRC_USE_GENERIC_FOR_SMALL_INPUTS 1 +# ifndef CRC_USE_IFUNC +# define CRC_USE_GENERIC_FOR_SMALL_INPUTS 1 +# endif */ # if defined(_MSC_VER) -- cgit v1.2.3