sys-devel/binutils: add USE=xxhash to >=2.44

See upstream commit 2299dfd4ba96c6852db862f6ec1b96880ecd6c0c.

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-02-04 22:00:49 +00:00
parent 83b5fe3ef8
commit 79f5e43b08
4 changed files with 19 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ DESCRIPTION="Tools necessary to build programs"
HOMEPAGE="https://sourceware.org/binutils/"
LICENSE="GPL-3+"
IUSE="cet debuginfod doc gprofng hardened multitarget +nls pgo +plugins static-libs test vanilla zstd"
IUSE="cet debuginfod doc gprofng hardened multitarget +nls pgo +plugins static-libs test vanilla xxhash zstd"
# Variables that can be set here (ignored for live ebuilds)
# PATCH_VER - the patchset version
@@ -60,7 +60,10 @@ RDEPEND="
)
zstd? ( app-arch/zstd:= )
"
DEPEND="${RDEPEND}"
DEPEND="
${RDEPEND}
xxhash? ( dev-libs/xxhash )
"
BDEPEND="
doc? ( sys-apps/texinfo )
pgo? (
@@ -269,6 +272,7 @@ src_configure() {
--with-bugurl="$(toolchain-binutils_bugurl)"
--with-pkgversion="$(toolchain-binutils_pkgversion)"
$(use_enable static-libs static)
$(use_with xxhash)
$(use_with zstd)
# Disable modules that are in a combined binutils/gdb tree, bug #490566

View File

@@ -9,7 +9,7 @@ DESCRIPTION="Tools necessary to build programs"
HOMEPAGE="https://sourceware.org/binutils/"
LICENSE="GPL-3+"
IUSE="cet debuginfod doc gprofng hardened multitarget +nls pgo +plugins static-libs test vanilla zstd"
IUSE="cet debuginfod doc gprofng hardened multitarget +nls pgo +plugins static-libs test vanilla xxhash zstd"
# Variables that can be set here (ignored for live ebuilds)
# PATCH_VER - the patchset version
@@ -60,7 +60,10 @@ RDEPEND="
)
zstd? ( app-arch/zstd:= )
"
DEPEND="${RDEPEND}"
DEPEND="
${RDEPEND}
xxhash? ( dev-libs/xxhash )
"
BDEPEND="
doc? ( sys-apps/texinfo )
pgo? (
@@ -269,6 +272,7 @@ src_configure() {
--with-bugurl="$(toolchain-binutils_bugurl)"
--with-pkgversion="$(toolchain-binutils_pkgversion)"
$(use_enable static-libs static)
$(use_with xxhash)
$(use_with zstd)
# Disable modules that are in a combined binutils/gdb tree, bug #490566

View File

@@ -9,7 +9,7 @@ DESCRIPTION="Tools necessary to build programs"
HOMEPAGE="https://sourceware.org/binutils/"
LICENSE="GPL-3+"
IUSE="cet debuginfod doc gprofng hardened multitarget +nls pgo +plugins static-libs test vanilla zstd"
IUSE="cet debuginfod doc gprofng hardened multitarget +nls pgo +plugins static-libs test vanilla xxhash zstd"
# Variables that can be set here (ignored for live ebuilds)
# PATCH_VER - the patchset version
@@ -60,7 +60,10 @@ RDEPEND="
)
zstd? ( app-arch/zstd:= )
"
DEPEND="${RDEPEND}"
DEPEND="
${RDEPEND}
xxhash? ( dev-libs/xxhash )
"
BDEPEND="
doc? ( sys-apps/texinfo )
pgo? (
@@ -269,6 +272,7 @@ src_configure() {
--with-bugurl="$(toolchain-binutils_bugurl)"
--with-pkgversion="$(toolchain-binutils_pkgversion)"
$(use_enable static-libs static)
$(use_with xxhash)
$(use_with zstd)
# Disable modules that are in a combined binutils/gdb tree, bug #490566

View File

@@ -14,6 +14,7 @@
<flag name="plugins">Enable plugin support in tools</flag>
<flag name="multitarget">Adds support to binutils for cross compiling (does not work with gas)</flag>
<flag name="debuginfod">Enable debuginfod support via <pkg>dev-libs/elfutils</pkg> libdebuginfod</flag>
<flag name="xxhash">Use <pkg>dev-libs/xxhash</pkg> for --build-id=xx support</flag>
</use>
<upstream>
<remote-id type="cpe">cpe:/a:gnu:binutils</remote-id>