diff options
author | Jia Tan <jiat0218@gmail.com> | 2023-07-24 21:43:44 +0800 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2023-08-01 18:41:42 +0300 |
commit | 19899340cf74d98304f9f5b726c72e85c7017d72 (patch) | |
tree | c8c643e58e47b467e1c4b3fc226b417a9575ed45 /autogen.sh | |
parent | Tests: Skip .lz files in test_files.sh if not configured. (diff) | |
download | xz-19899340cf74d98304f9f5b726c72e85c7017d72.tar.xz |
liblzma: Prevent an empty translation unit in Windows builds.
To workaround Automake lacking Windows resource compiler support, an
empty source file is compiled to overwrite the resource files for static
library builds. Translation units without an external declaration are
not allowed by the C standard and result in a warning when used with
-Wempty-translation-unit (Clang) or -pedantic (GCC).
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions