commit: aa475b61719c0c2bb4ce045f6a4f2f63b1f81702 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Jun 29 16:34:14 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Jun 29 16:34:57 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa475b61
sys-libs/binutils-libs: pass -Wl,--undefined-version for now Just pass -Wl,--undefined-version as this is fixed upstream in master (and will be in 2.43) but it ended up being reworked quite a bit. Closes: https://github.com/gentoo/gentoo/pull/35532 Closes: https://bugs.gentoo.org/914640 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-libs/binutils-libs/binutils-libs-2.42-r1.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys-libs/binutils-libs/binutils-libs-2.42-r1.ebuild b/sys-libs/binutils-libs/binutils-libs-2.42-r1.ebuild index 7f924f8a301c..fcdeb9f8509b 100644 --- a/sys-libs/binutils-libs/binutils-libs-2.42-r1.ebuild +++ b/sys-libs/binutils-libs/binutils-libs-2.42-r1.ebuild @@ -77,6 +77,10 @@ pkgversion() { multilib_src_configure() { filter-lto + # Workaround for lld-17 (bug #914640) + # Should be able to drop this w/ >=binutils-2.43 + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) + local myconf=( # portage's econf() does not detect presence of --d-d-t # because it greps only top-level ./configure. But not
