Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Sun, 08 Sep 2019 13:28:11
Message-Id: 1567949280.d1950f8b93377a26cee46909bdfcb6977d72008b.polynomial-c@gentoo
1 commit: d1950f8b93377a26cee46909bdfcb6977d72008b
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 8 13:25:54 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 8 13:28:00 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1950f8b
7
8 mozcoreconf-v6.eclass: seamonkey doesn't use lto
9
10 Closes: https://bugs.gentoo.org/693666
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 eclass/mozcoreconf-v6.eclass | 36 ++++++++++++++++++++----------------
14 1 file changed, 20 insertions(+), 16 deletions(-)
15
16 diff --git a/eclass/mozcoreconf-v6.eclass b/eclass/mozcoreconf-v6.eclass
17 index 2789e6046b9..78104b55fb6 100644
18 --- a/eclass/mozcoreconf-v6.eclass
19 +++ b/eclass/mozcoreconf-v6.eclass
20 @@ -208,14 +208,16 @@ mozconfig_init() {
21 # Additional ARCH support
22 case "${ARCH}" in
23 arm)
24 - # Reduce the memory requirements for linking
25 - if use clang ; then
26 - # Nothing to do
27 - :;
28 - elif tc-ld-is-gold || use lto; then
29 - append-ldflags -Wl,--no-keep-memory
30 - else
31 - append-ldflags -Wl,--no-keep-memory -Wl,--reduce-memory-overheads
32 + if [[ ${PN} != seamonkey ]] ; then
33 + # Reduce the memory requirements for linking
34 + if use clang ; then
35 + # Nothing to do
36 + :;
37 + elif tc-ld-is-gold || use lto; then
38 + append-ldflags -Wl,--no-keep-memory
39 + else
40 + append-ldflags -Wl,--no-keep-memory -Wl,--reduce-memory-overheads
41 + fi
42 fi
43 ;;
44 alpha)
45 @@ -230,14 +232,16 @@ mozconfig_init() {
46 ;;
47 ppc64)
48 append-flags -fPIC
49 - # Reduce the memory requirements for linking
50 - if use clang ; then
51 - # Nothing to do
52 - :;
53 - elif tc-ld-is-gold || use lto; then
54 - append-ldflags -Wl,--no-keep-memory
55 - else
56 - append-ldflags -Wl,--no-keep-memory -Wl,--reduce-memory-overheads
57 + if [[ ${PN} != seamonkey ]] ; then
58 + # Reduce the memory requirements for linking
59 + if use clang ; then
60 + # Nothing to do
61 + :;
62 + elif tc-ld-is-gold || use lto; then
63 + append-ldflags -Wl,--no-keep-memory
64 + else
65 + append-ldflags -Wl,--no-keep-memory -Wl,--reduce-memory-overheads
66 + fi
67 fi
68 ;;
69 esac