diff options
author | Jia Tan <jiat0218@gmail.com> | 2024-01-22 23:33:39 +0800 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2024-01-23 23:05:47 +0800 |
commit | 2959dbc7358efcf421ce51bc9cd7eae8fdd8fec4 (patch) | |
tree | 0c3eb2ad2a95447eafae1ae5ab818bd7a1c1c77b /src | |
parent | CMake: Support RISC-V BCJ Filter for encoding and decoding. (diff) | |
download | xz-2959dbc7358efcf421ce51bc9cd7eae8fdd8fec4.tar.xz |
liblzma: Update string_conversion.c to support RISC-V Filter.
Diffstat (limited to 'src')
-rw-r--r-- | src/liblzma/common/string_conversion.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/liblzma/common/string_conversion.c b/src/liblzma/common/string_conversion.c index d2c1e809..ad8241e2 100644 --- a/src/liblzma/common/string_conversion.c +++ b/src/liblzma/common/string_conversion.c @@ -509,6 +509,11 @@ static const struct { &parse_bcj, bcj_optmap, 1, 1, true }, #endif +#if defined(HAVE_ENCODER_RISCV) || defined(HAVE_DECODER_RISCV) + { "riscv", sizeof(lzma_options_bcj), LZMA_FILTER_RISCV, + &parse_bcj, bcj_optmap, 1, 1, true }, +#endif + #if defined(HAVE_ENCODER_POWERPC) || defined(HAVE_DECODER_POWERPC) { "powerpc", sizeof(lzma_options_bcj), LZMA_FILTER_POWERPC, &parse_bcj, bcj_optmap, 1, 1, true }, |