diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2023-09-26 15:00:43 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2023-09-26 15:00:43 +0300 |
commit | a37a2763383e6c204fe878e1416dd35e7711d3a9 (patch) | |
tree | c19810311ace0311b4cbefb1d73f98382cbc6477 /src/liblzma/check/crc32_table_be.h | |
parent | Build: Fix underquoted AC_LANG_SOURCE. (diff) | |
download | xz-a37a2763383e6c204fe878e1416dd35e7711d3a9.tar.xz |
Build: Fix __attribute__((ifunc(...))) detection with clang -Wall.
Now if user-supplied CFLAGS contains -Wall -Wextra -Wpedantic
the two checks that need -Werror will still work.
At CMake side there is add_compile_options(-Wall -Wextra)
but it didn't affect the -Werror tests. So with both Autotools
and CMake only user-supplied CFLAGS could make the checks fail
when they shouldn't.
This is not a full fix as things like -Wunused-macros in
user-supplied CFLAGS will still cause problems with both
GCC and Clang.
Diffstat (limited to 'src/liblzma/check/crc32_table_be.h')
0 files changed, 0 insertions, 0 deletions