From 5fa0e0c7e62842b1491426c8c6e506f51b6c78e1 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 18 Oct 2022 01:55:31 +0100 Subject: gentoo auto-resync : 18:10:2022 - 01:55:31 --- eclass/Manifest.gz | Bin 37489 -> 37483 bytes eclass/kernel-build.eclass | 2 +- eclass/linux-mod.eclass | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) (limited to 'eclass') diff --git a/eclass/Manifest.gz b/eclass/Manifest.gz index 9ca2e3015539..d427181c9c58 100644 Binary files a/eclass/Manifest.gz and b/eclass/Manifest.gz differ diff --git a/eclass/kernel-build.eclass b/eclass/kernel-build.eclass index 1fa25cbc9574..7cada85e79fe 100644 --- a/eclass/kernel-build.eclass +++ b/eclass/kernel-build.eclass @@ -91,7 +91,7 @@ kernel-build_src_configure() { ) if type -P xz &>/dev/null ; then - export XZ_OPT="-T$(makeopts_jobs)" + export XZ_OPT="-T$(makeopts_jobs) --memlimit-compress=50% -q" fi if type -P zstd &>/dev/null ; then diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass index f0005a8cca65..7e9993892847 100644 --- a/eclass/linux-mod.eclass +++ b/eclass/linux-mod.eclass @@ -716,7 +716,7 @@ linux-mod_src_install() { # and similarily compress the module being built if != NONE. if linux_chkconfig_present MODULE_COMPRESS_XZ; then - xz -T$(makeopts_jobs) ${modulename}.${KV_OBJ} || die "Compressing ${modulename}.${KV_OBJ} with xz failed" + xz -T$(makeopts_jobs) --memlimit-compress=50% -q ${modulename}.${KV_OBJ} || die "Compressing ${modulename}.${KV_OBJ} with xz failed" doins ${modulename}.${KV_OBJ}.xz elif linux_chkconfig_present MODULE_COMPRESS_GZIP; then if type -P pigz &>/dev/null ; then -- cgit v1.2.3