commit: 18fa4304e50c091c67df9ac83e15e13354ea2a14
parent: 0f82be56bc8a268297b755765384cbb206eaa218
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Wed, 26 Aug 2020 11:15:04 +0200
net-libs/webkit-gtk: Force binutils `ld`
Diffstat:
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/net-libs/webkit-gtk/webkit-gtk-2.28.4.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.28.4.ebuild
@@ -173,6 +173,12 @@ src_configure() {
CMAKE_BUILD_TYPE="Debug"
fi
+ # gtk-doc fails to generate docs when ld.lld is used, force binutils
+ if use gtk-doc; then
+ export CC_LD="ld"
+ export LD="ld"
+ fi
+
# Respect CC, otherwise fails on prefix #395875
tc-export CC
diff --git a/net-libs/webkit-gtk/webkit-gtk-2.29.91.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.29.91.ebuild
@@ -174,6 +174,12 @@ src_configure() {
CMAKE_BUILD_TYPE="Debug"
fi
+ # gtk-doc fails to generate docs when ld.lld is used, force binutils
+ if use gtk-doc; then
+ export CC_LD="ld"
+ export LD="ld"
+ fi
+
# Respect CC, otherwise fails on prefix #395875
tc-export CC