]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Makefile: remove support of legacy formats by default
authorYann Collet <cyan@fb.com>
Thu, 18 Dec 2025 20:59:14 +0000 (12:59 -0800)
committerYann Collet <cyan@fb.com>
Thu, 18 Dec 2025 20:59:14 +0000 (12:59 -0800)
can still be changed manually by setting `ZSTD_LEGACY_SUPPORT` to a different value

lib/libzstd.mk

index d1744973e2c8abdb1db4dd984b7bfbb1eb04c8c7..60928b0ee95f74e4d4fdf6c575f60596079ec89e 100644 (file)
@@ -28,12 +28,8 @@ LIB_BINDIR ?= $(LIB_SRCDIR)
 # configures a bunch of other variables to space-optimized defaults.
 ZSTD_LIB_MINIFY ?= 0
 
-# Legacy support
-ifneq ($(ZSTD_LIB_MINIFY), 0)
-  ZSTD_LEGACY_SUPPORT ?= 0
-else
-  ZSTD_LEGACY_SUPPORT ?= 5
-endif
+# Legacy support disabled by default
+ZSTD_LEGACY_SUPPORT ?= 0
 ZSTD_LEGACY_MULTITHREADED_API ?= 0
 
 # Build size optimizations