Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/webkit-gtk/
Date: Sun, 16 Jan 2022 02:46:13
Message-Id: 1642301148.aa8c75638bbc8e9d35f33478ab3b0e18b83f19dc.sam@gentoo
1 commit: aa8c75638bbc8e9d35f33478ab3b0e18b83f19dc
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 16 02:44:50 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 16 02:45:48 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa8c7563
7
8 net-libs/webkit-gtk: test if linker supports --no-keep-memory
9
10 For example, mold doesn't.
11
12 Closes: https://bugs.gentoo.org/831282
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 net-libs/webkit-gtk/webkit-gtk-2.34.3.ebuild | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18 diff --git a/net-libs/webkit-gtk/webkit-gtk-2.34.3.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.34.3.ebuild
19 index ad4b0169d88f..a6cb56d76a50 100644
20 --- a/net-libs/webkit-gtk/webkit-gtk-2.34.3.ebuild
21 +++ b/net-libs/webkit-gtk/webkit-gtk-2.34.3.ebuild
22 @@ -184,7 +184,7 @@ src_configure() {
23 # Try to use less memory, bug #469942 (see Fedora .spec for reference)
24 # --no-keep-memory doesn't work on ia64, bug #502492
25 if ! use ia64; then
26 - append-ldflags "-Wl,--no-keep-memory"
27 + append-ldflags $(test-flags-CCLD "-Wl,--no-keep-memory")
28 fi
29
30 # Ruby situation is a bit complicated. See bug 513888