summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2023-08-19 12:40:46 +0100
committerMarek Szuba <marecki@gentoo.org>2023-08-19 17:24:07 +0100
commit199a157b43188adb4e2da3f0d285a7a6a351ea44 (patch)
tree18bdc18b685953d626c4e499de9261b893433191 /sys-libs/libblockdev
parentsys-libs/libblockdev: drop 2.28-r2, 3.0.1 (diff)
downloadgentoo-199a157b43188adb4e2da3f0d285a7a6a351ea44.tar.gz
gentoo-199a157b43188adb4e2da3f0d285a7a6a351ea44.tar.bz2
gentoo-199a157b43188adb4e2da3f0d285a7a6a351ea44.zip
sys-libs/libblockdev: work around problems with sys-devel/lld
Closes: https://bugs.gentoo.org/910487 Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'sys-libs/libblockdev')
-rw-r--r--sys-libs/libblockdev/libblockdev-3.0.2-r1.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys-libs/libblockdev/libblockdev-3.0.2-r1.ebuild b/sys-libs/libblockdev/libblockdev-3.0.2-r1.ebuild
index 3c1005c34b8a..c9c348b7e758 100644
--- a/sys-libs/libblockdev/libblockdev-3.0.2-r1.ebuild
+++ b/sys-libs/libblockdev/libblockdev-3.0.2-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
-inherit autotools python-single-r1 xdg-utils
+inherit autotools python-single-r1 toolchain-funcs xdg-utils
DESCRIPTION="A library for manipulating block devices"
HOMEPAGE="https://github.com/storaged-project/libblockdev"
@@ -88,6 +88,11 @@ src_prepare() {
}
src_configure() {
+ # Bug #910487
+ if tc-ld-is-lld; then
+ tc-ld-force-bfd
+ fi
+
local myeconfargs=(
--with-btrfs
--with-fs