summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-09-29 22:50:58 +0100
committerSam James <sam@gentoo.org>2022-09-29 22:51:42 +0100
commit94b00d857af9975fe34bebd1d766167b4b7ebf95 (patch)
treec199c3062a5c3e2c14d191679e0ef8f03f910af6 /sys-devel
parentdev-libs/angelscript: I forgot the ebuild... again (diff)
downloadgentoo-94b00d857af9975fe34bebd1d766167b4b7ebf95.tar.gz
gentoo-94b00d857af9975fe34bebd1d766167b4b7ebf95.tar.bz2
gentoo-94b00d857af9975fe34bebd1d766167b4b7ebf95.zip
sys-devel/binutils: add zstd support to live
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/binutils/binutils-9999.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys-devel/binutils/binutils-9999.ebuild b/sys-devel/binutils/binutils-9999.ebuild
index 8025c9da680b..20b0575b0602 100644
--- a/sys-devel/binutils/binutils-9999.ebuild
+++ b/sys-devel/binutils/binutils-9999.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="Tools necessary to build programs"
HOMEPAGE="https://sourceware.org/binutils/"
LICENSE="GPL-3+"
-IUSE="cet default-gold doc gold gprofng multitarget +nls pgo +plugins static-libs test vanilla"
+IUSE="cet default-gold doc gold gprofng multitarget +nls pgo +plugins static-libs test zstd vanilla"
REQUIRED_USE="default-gold? ( gold )"
# Variables that can be set here (ignored for live ebuilds)
@@ -53,6 +53,7 @@ is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }
RDEPEND="
>=sys-devel/binutils-config-3
sys-libs/zlib
+ zstd? ( app-arch/zstd:= )
"
DEPEND="${RDEPEND}"
BDEPEND="
@@ -267,6 +268,8 @@ src_configure() {
--with-bugurl="$(toolchain-binutils_bugurl)"
--with-pkgversion="$(toolchain-binutils_pkgversion)"
$(use_enable static-libs static)
+ $(use_with zstd)
+
# Disable modules that are in a combined binutils/gdb tree, bug #490566
--disable-{gdb,libdecnumber,readline,sim}
# Strip out broken static link flags.