make.sh: Let XZ determine how many cores it wants to use
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 22 May 2018 19:46:25 +0000 (20:46 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 22 May 2018 19:46:25 +0000 (20:46 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
make.sh

diff --git a/make.sh b/make.sh
index 84c8405..353441b 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -878,7 +878,7 @@ case "${HOST_ARCH}" in
                ;;
 esac
 
-XZ_OPT="-T$(system_processors) -8 --memory=${XZ_MEM}MiB"
+XZ_OPT="-T0 -8 --memory=${XZ_MEM}MiB"
 
 if [ -n "${BUILD_ARCH}" ]; then
        configure_build "${BUILD_ARCH}"