From: Lasse Collin Date: Wed, 18 Oct 2023 11:30:00 +0000 (+0300) Subject: liblzma: CRC_USE_GENERIC_FOR_SMALL_INPUTS cannot be used with ifunc. X-Git-Tag: v5.5.1alpha~125 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5ce0f7a48bdf5c3b45430850a4487307afac6143;p=thirdparty%2Fxz.git liblzma: CRC_USE_GENERIC_FOR_SMALL_INPUTS cannot be used with ifunc. --- 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)