mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-22 03:04:34 +01: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
This commit is contained in:
parent
7206f7c619
commit
a25e0ba57e
@ -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