From: Nick Terrell Date: Thu, 10 Sep 2020 00:13:16 +0000 (-0700) Subject: [doc] Document new build macros in lib/README.md X-Git-Tag: v1.4.7~82^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b92569a522370a6facab85bed2d14171abe7417a;p=thirdparty%2Fzstd.git [doc] Document new build macros in lib/README.md --- diff --git a/lib/README.md b/lib/README.md index 6ccffb138..ff62b668a 100644 --- a/lib/README.md +++ b/lib/README.md @@ -143,6 +143,14 @@ The file structure is designed to make this selection manually achievable for an Setting this macro will either force to generate the BMI2 dispatcher (1) or prevent it (0). It overrides automatic detection. +- The build macro `ZSTD_NO_UNUSED_FUNCTIONS` can be defined to hide the definitions of functions + that zstd does not use. Not all unused functions are hidden, but they can be if needed. + Currently, this macro will hide function definitions in FSE and HUF that use an excessive + amount of stack space. + +- The build macro `ZSTD_NO_INTRINSICS` can be defined to disable all explicit intrinsics. + Compiler builtins are still used. + #### Windows : using MinGW+MSYS to create DLL