Makefile: remove support of legacy formats by default

can still be changed manually by setting `ZSTD_LEGACY_SUPPORT` to a different value
This commit is contained in:
Yann Collet
2025-12-18 12:59:14 -08:00
parent ebc93b0c91
commit 38cce02684
+2 -6
View 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