aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.commands.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Mk/bsd.commands.mk')
-rw-r--r--Mk/bsd.commands.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/Mk/bsd.commands.mk b/Mk/bsd.commands.mk
index 60095228516f..08f568336d21 100644
--- a/Mk/bsd.commands.mk
+++ b/Mk/bsd.commands.mk
@@ -93,10 +93,11 @@ XARGS?= /usr/bin/xargs
XMKMF?= ${LOCALBASE}/bin/xmkmf -a
YACC?= /usr/bin/yacc
+XZ?= -Mmax
.if exists(/usr/bin/xz)
-XZ_CMD?= /usr/bin/xz
+XZ_CMD?= /usr/bin/xz ${XZ}
.else
-XZ_CMD?= ${LOCALBASE}/bin/xz
+XZ_CMD?= ${LOCALBASE}/bin/xz ${XZ}
.endif
.if exists(/sbin/md5)