bsd.own.mk: Introduce TAR_XZ_CMD
It is TAR_CMD with -J added, and can be used to avoid a tar | xz pipe that could mask errors. Reviewed by: bz Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D50473
This commit is contained in:
@@ -272,8 +272,10 @@ XZ_THREADS?= 0
|
||||
|
||||
.if !empty(XZ_THREADS)
|
||||
XZ_CMD?= xz -T ${XZ_THREADS}
|
||||
TAR_XZ_CMD?= ${TAR_CMD} -J --options xz:threads=${XZ_THREADS}
|
||||
.else
|
||||
XZ_CMD?= xz
|
||||
TAR_XZ_CMD?= ${TAR_CMD} -J
|
||||
.endif
|
||||
|
||||
PKG_CMD?= pkg
|
||||
|
||||
Reference in New Issue
Block a user