toolchain.eclass: propagate USE=zstd to libgccjit build

You *can* do LTO with libgccjit, apparently, and it even works if we don't
break the compression used for LTO with it. Pass down the zstd arg from
USE=zstd like we do for the regular build.

Thanks to StrawberryTea for reporting.

Closes: https://bugs.gentoo.org/926953
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2024-04-22 04:13:04 +01:00
parent 77b13398f7
commit 28fca56a16

View File

@@ -1462,7 +1462,7 @@ toolchain_src_configure() {
# respect USE=graphite here in case the user passes some
# graphite flags rather than try strip them out.
$(use_with graphite isl)
--without-zstd
$(use_with zstd)
--with-system-zlib
)