make.sh: Correctly pass ZSTD_OPT

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2024-07-09 17:46:48 +00:00
parent cd89b58820
commit 8f1c5b617d
2 changed files with 2 additions and 5 deletions

View 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.
#

View File

@@ -583,6 +583,7 @@ execute() {
# Compression Options
[XZ_OPT]="${XZ_OPT[@]}"
[ZSTD_OPT]="${ZSTD_OPT[@]}"
# Build Architecture
[BUILD_ARCH]="${BUILD_ARCH}"