liblzma: Update string_conversion.c to support RISC-V Filter.

This commit is contained in:
Jia Tan 2024-01-22 23:33:39 +08:00
parent 34372a5adb
commit 2959dbc735
1 changed files with 5 additions and 0 deletions

View File

@ -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 },