aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2024-02-23 16:12:32 +0800
committerJia Tan <jiat0218@gmail.com>2024-02-23 16:12:32 +0800
commit32b0a3ce19224f9074d01a4ffbc1655b05fcb82d (patch)
tree680f23f05fab7415f834e1359c93ac2bb0c0f100 /src
parentCMake: Add LOCALEDIR to the windres workaround. (diff)
downloadxz-32b0a3ce19224f9074d01a4ffbc1655b05fcb82d.tar.xz
Build: Fix ARM64 CRC32 instruction feature test.
Old versions of Clang reported the unsupported function attribute and __crc32d() function as warnings instead of errors, so the feature test passed when it shouldn't have, causing a compile error at build time. -Werror was added to this feature test to fix this. The change is not needed for CMake because check_c_source_compiles() also performs linking and the error is caught then. Thanks to Sebastian Andrzej Siewior for reporting this.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions