libarchive: fix previous, use lzma_cputhreads() instead.
This commit is contained in:
parent
78775add74
commit
9c795df951
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ Enable xz multithreaded compression by default.
|
||||||
f->data = data;
|
f->data = data;
|
||||||
data->compression_level = LZMA_PRESET_DEFAULT;
|
data->compression_level = LZMA_PRESET_DEFAULT;
|
||||||
- data->threads = 1;
|
- data->threads = 1;
|
||||||
+ data->threads = 0;
|
+ data->threads = lzma_cputhreads();
|
||||||
f->open = &archive_compressor_xz_open;
|
f->open = &archive_compressor_xz_open;
|
||||||
f->close = archive_compressor_xz_close;
|
f->close = archive_compressor_xz_close;
|
||||||
f->free = archive_compressor_xz_free;
|
f->free = archive_compressor_xz_free;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'libarchive'
|
# Template file for 'libarchive'
|
||||||
pkgname=libarchive
|
pkgname=libarchive
|
||||||
version=3.2.0
|
version=3.2.0
|
||||||
revision=2
|
revision=3
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="$(vopt_enable acl) $(vopt_enable acl xattr)
|
configure_args="$(vopt_enable acl) $(vopt_enable acl xattr)
|
||||||
|
|
Loading…
Reference in a new issue