Upstream provides a few options to control features being built. I'd like to disable the filters that are not used in any default configuration. What I'm thinking of are the following options: --enable-encoders=lzma1,lzma2 --enable-decoders=lzma1,lzma2 --enable-match-finders=hc3,hc4,bt4 --enable-checks=crc32,crc64 This has two goals: to reduce size of xz-utils, and to prevent people from using custom profiles to create non-portable .xz files.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e082cbd69d9b535ab62e89360efd3aac1f5f3115 commit e082cbd69d9b535ab62e89360efd3aac1f5f3115 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2017-12-13 09:13:23 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2017-12-17 21:08:11 +0000 app-arch/xz-utils: Support disabling unnecessary filters Closes: https://bugs.gentoo.org/641488 Closes: https://github.com/gentoo/gentoo/pull/6547 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> app-arch/xz-utils/metadata.xml | 5 +++++ app-arch/xz-utils/xz-utils-5.2.3.ebuild | 16 +++++++++++++++- app-arch/xz-utils/xz-utils-9999.ebuild | 16 +++++++++++++++- 3 files changed, 35 insertions(+), 2 deletions(-)