1 |
commit: 94b00d857af9975fe34bebd1d766167b4b7ebf95 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 29 21:50:58 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 29 21:51:42 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94b00d85 |
7 |
|
8 |
sys-devel/binutils: add zstd support to live |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
sys-devel/binutils/binutils-9999.ebuild | 5 ++++- |
13 |
1 file changed, 4 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/sys-devel/binutils/binutils-9999.ebuild b/sys-devel/binutils/binutils-9999.ebuild |
16 |
index 8025c9da680b..20b0575b0602 100644 |
17 |
--- a/sys-devel/binutils/binutils-9999.ebuild |
18 |
+++ b/sys-devel/binutils/binutils-9999.ebuild |
19 |
@@ -9,7 +9,7 @@ DESCRIPTION="Tools necessary to build programs" |
20 |
HOMEPAGE="https://sourceware.org/binutils/" |
21 |
|
22 |
LICENSE="GPL-3+" |
23 |
-IUSE="cet default-gold doc gold gprofng multitarget +nls pgo +plugins static-libs test vanilla" |
24 |
+IUSE="cet default-gold doc gold gprofng multitarget +nls pgo +plugins static-libs test zstd vanilla" |
25 |
REQUIRED_USE="default-gold? ( gold )" |
26 |
|
27 |
# Variables that can be set here (ignored for live ebuilds) |
28 |
@@ -53,6 +53,7 @@ is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } |
29 |
RDEPEND=" |
30 |
>=sys-devel/binutils-config-3 |
31 |
sys-libs/zlib |
32 |
+ zstd? ( app-arch/zstd:= ) |
33 |
" |
34 |
DEPEND="${RDEPEND}" |
35 |
BDEPEND=" |
36 |
@@ -267,6 +268,8 @@ src_configure() { |
37 |
--with-bugurl="$(toolchain-binutils_bugurl)" |
38 |
--with-pkgversion="$(toolchain-binutils_pkgversion)" |
39 |
$(use_enable static-libs static) |
40 |
+ $(use_with zstd) |
41 |
+ |
42 |
# Disable modules that are in a combined binutils/gdb tree, bug #490566 |
43 |
--disable-{gdb,libdecnumber,readline,sim} |
44 |
# Strip out broken static link flags. |