diff options
author | Sam James <sam@gentoo.org> | 2024-06-29 17:34:14 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-06-29 17:34:57 +0100 |
commit | aa475b61719c0c2bb4ce045f6a4f2f63b1f81702 (patch) | |
tree | 7f5834a7250d7cf969936f17355544632be84bea /sys-libs/binutils-libs | |
parent | sys-devel/binutils: drop -Wl,--undefined-version passing (diff) | |
download | gentoo-aa475b61719c0c2bb4ce045f6a4f2f63b1f81702.tar.gz gentoo-aa475b61719c0c2bb4ce045f6a4f2f63b1f81702.tar.bz2 gentoo-aa475b61719c0c2bb4ce045f6a4f2f63b1f81702.zip |
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@gentoo.org>
Diffstat (limited to 'sys-libs/binutils-libs')
-rw-r--r-- | sys-libs/binutils-libs/binutils-libs-2.42-r1.ebuild | 4 |
1 files changed, 4 insertions, 0 deletions
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 |