From 484a52c4017413b28f07eb184454d88184fe4841 Mon Sep 17 00:00:00 2001 From: Kron4ek Date: Sun, 16 Jan 2022 15:16:06 +0500 Subject: [PATCH] Disable unneeded functions for zstd Makes zstd smaller. --- create-utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create-utils.sh b/create-utils.sh index f8a7577..b99ea02 100755 --- a/create-utils.sh +++ b/create-utils.sh @@ -55,7 +55,7 @@ cd ../lz4-${lz4_version} make -j$(nproc) DESTDIR="${script_dir}"/build-utils/bin install cd ../zstd-${zstd_version} -make -j$(nproc) DESTDIR="${script_dir}"/build-utils/bin install +ZSTD_LEGACY_SUPPORT=0 HAVE_ZLIB=0 HAVE_LZMA=0 HAVE_LZ4=0 BACKTRACE=0 make -j$(nproc) DESTDIR="${script_dir}"/build-utils/bin install if [ "${build_dwarfs}" != "true" ]; then cd ../squashfuse-${squashfuse_version}