]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
make.sh: Correctly pass ZSTD_OPT
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 9 Jul 2024 17:46:48 +0000 (17:46 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 9 Jul 2024 17:46:48 +0000 (17:46 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/Config
make.sh

index ac06ce576ecb8e71e2ccd96363c2363fb431d539..71abb8b8500065fb6c71ae4128e6965126f7cb92 100644 (file)
@@ -33,6 +33,7 @@
 # Cleanup environment from any variables
 unexport BUILD_ARCH BUILD_PLATFORM BUILDTARGET CROSSTARGET TOOLCHAIN TOOLS_DIR
 unexport XZ_OPT
+unexport ZSTD_OPT
 
 # Basic Variables
 EMPTY :=
@@ -71,11 +72,6 @@ TAR_OPTIONS = \
        --xattrs-include='*' \
        --sparse
 
-ZSTD_OPTIONS = \
-       -T$(PARALLELISM) \
-       -19 \
-       --long
-
 # URLs that are common sources of downloads.  If you're having trouble with
 # a site you should change its URL to that of a suitable mirror site.
 #
diff --git a/make.sh b/make.sh
index 18ed45310f0397c8f2176f63ac324391010b1b49..3c89f0e69bacb4b3e4059916a2b29c7243e27ffd 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -583,6 +583,7 @@ execute() {
 
                # Compression Options
                [XZ_OPT]="${XZ_OPT[@]}"
+               [ZSTD_OPT]="${ZSTD_OPT[@]}"
 
                # Build Architecture
                [BUILD_ARCH]="${BUILD_ARCH}"