From: Yann Collet Date: Thu, 18 Dec 2025 20:59:14 +0000 (-0800) Subject: Makefile: remove support of legacy formats by default X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38cce02684b5628ff1e3da5e327e565f4293558b;p=thirdparty%2Fzstd.git Makefile: remove support of legacy formats by default can still be changed manually by setting `ZSTD_LEGACY_SUPPORT` to a different value --- diff --git a/lib/libzstd.mk b/lib/libzstd.mk index d1744973e..60928b0ee 100644 --- a/lib/libzstd.mk +++ b/lib/libzstd.mk @@ -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