zstd
- clear’s fopen patch has an m mode (rbm) that is only for glibc
 - The 
notracepatch is only for gcc 10, and is not needed with gcc 11+ as LTO works with zstd - The 
testtarget is expensive, useshortest(akacheck) instead - Prefer 
zstd -T0tozstdmtandpzstdas it is more modern - Level 
3is good enough; after level19it will regress makeis the officially maintained build system (all other build systems are “compatible” and 3rd-party maintained)HAVE_ZLIB,HAVE_LZMAandHAVE_LZ4are automatically enabled when detected at build time; disable them explicitly- No need to specify 
lib-mtbuild target as the dynamic library is multithreaded by default; and even though the static library is single-threaded it is being removed so that won’t matter -pthreadis included inlibzstd.pcand is automatically passed when linking against it