]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
liblzma: CRC_USE_GENERIC_FOR_SMALL_INPUTS cannot be used with ifunc.
authorLasse Collin <lasse.collin@tukaani.org>
Wed, 18 Oct 2023 11:30:00 +0000 (14:30 +0300)
committerJia Tan <jiat0218@gmail.com>
Wed, 18 Oct 2023 15:54:41 +0000 (23:54 +0800)
src/liblzma/check/crc_common.h

index 0dd4faec04d212a521478253bfd0c8dd6d647f17..51ddd9d5c1515cb533e4f62e6bbb9f6d80d2ba4f 100644 (file)
@@ -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)