diff options
author | Jia Tan <jiat0218@gmail.com> | 2024-02-23 16:12:32 +0800 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2024-02-23 16:12:32 +0800 |
commit | 32b0a3ce19224f9074d01a4ffbc1655b05fcb82d (patch) | |
tree | 680f23f05fab7415f834e1359c93ac2bb0c0f100 /po | |
parent | CMake: Add LOCALEDIR to the windres workaround. (diff) | |
download | xz-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 '')
0 files changed, 0 insertions, 0 deletions