liblzma: Only use ifunc in crcXX_fast.c if its needed.
commit2f1552a91c825e87013925e1a67a0930e7aef592
authorJia Tan <jiat0218@gmail.com>
Tue, 23 Jan 2024 10:02:13 +0000 (23 18:02 +0800)
committerJia Tan <jiat0218@gmail.com>
Thu, 1 Feb 2024 12:09:11 +0000 (1 20:09 +0800)
tree3b98f281229423092b44935cae616e966d6d004a
parent30a25f3742287697bc57a1bef86c19ecf5129322
liblzma: Only use ifunc in crcXX_fast.c if its needed.

The code was using HAVE_FUNC_ATTRIBUTE_IFUNC instead of CRC_USE_IFUNC.
With ARM64, ifunc is incompatible because it requires non-inline
function calls for runtime detection.
src/liblzma/check/crc32_fast.c
src/liblzma/check/crc64_fast.c