mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 09:12:44 +00:00
libarchive: fix thread autodetermination for zstd compression format
The libarchive code uses sysconf(3) to determine the number of threads
when 0 has been given as the number of thread to use
MFC after: 3 days
(cherry picked from commit a25e0ba57e
)
This commit is contained in:
parent
d6fecbebfc
commit
798c7248e7
@ -4,7 +4,8 @@
|
||||
|
||||
LIBADD= z bz2 lzma bsdxml zstd
|
||||
CFLAGS+= -DHAVE_BZLIB_H=1 -DHAVE_LIBLZMA=1 -DHAVE_LZMA_H=1 \
|
||||
-DHAVE_ZSTD_H=1 -DHAVE_LIBZSTD=1 -DHAVE_ZSTD_compressStream=1
|
||||
-DHAVE_ZSTD_H=1 -DHAVE_LIBZSTD=1 -DHAVE_ZSTD_compressStream=1 \
|
||||
-DHAVE_SYSCONF=1
|
||||
CFLAGS+= -DPLATFORM_CONFIG_H=\"${.CURDIR}/config_freebsd.h\"
|
||||
|
||||
.if ${MK_OPENSSL} != "no"
|
||||
|
Loading…
Reference in New Issue
Block a user