commit: a1a00834ca999c0ad4db7235f3575ed327fe3765
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 6 11:55:34 2024 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Jan 6 11:55:34 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1a00834
sys-devel/binutils: Oops, undid too much in my last commit
Sorry. Will switch brain on now.
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
sys-devel/binutils/binutils-2.41-r4.ebuild | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/sys-devel/binutils/binutils-2.41-r4.ebuild
b/sys-devel/binutils/binutils-2.41-r4.ebuild
index d57525849982..4b0e72d26098 100644
--- a/sys-devel/binutils/binutils-2.41-r4.ebuild
+++ b/sys-devel/binutils/binutils-2.41-r4.ebuild
@@ -352,7 +352,11 @@ src_compile() {
cd "${MY_BUILDDIR}" || die
# see Note [tooldir hack for ldscripts]
- emake tooldir="${EPREFIX}${TOOLPATH}" all
+ # see linker prefix patch
+ emake \
+ tooldir="${EPREFIX}${TOOLPATH}" \
+ gentoo_prefix=$(usex prefix-guest "${EPREFIX}"/usr /usr) \
+ all
# only build info pages if the user wants them
if use doc ; then