summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-09-08 15:25:54 +0200
committerLars Wendler <polynomial-c@gentoo.org>2019-09-08 15:28:00 +0200
commitd1950f8b93377a26cee46909bdfcb6977d72008b (patch)
treed621f362807edb432b14a20ec8f5cb07e187d629 /eclass/mozcoreconf-v6.eclass
parentsys-kernel/genkernel: bump to v4.0.0_beta17 (diff)
downloadgentoo-d1950f8b93377a26cee46909bdfcb6977d72008b.tar.gz
gentoo-d1950f8b93377a26cee46909bdfcb6977d72008b.tar.bz2
gentoo-d1950f8b93377a26cee46909bdfcb6977d72008b.zip
mozcoreconf-v6.eclass: seamonkey doesn't use lto
Closes: https://bugs.gentoo.org/693666 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'eclass/mozcoreconf-v6.eclass')
-rw-r--r--eclass/mozcoreconf-v6.eclass36
1 files changed, 20 insertions, 16 deletions
diff --git a/eclass/mozcoreconf-v6.eclass b/eclass/mozcoreconf-v6.eclass
index 2789e6046b9f..78104b55fb6e 100644
--- a/eclass/mozcoreconf-v6.eclass
+++ b/eclass/mozcoreconf-v6.eclass
@@ -208,14 +208,16 @@ mozconfig_init() {
# Additional ARCH support
case "${ARCH}" in
arm)
- # Reduce the memory requirements for linking
- if use clang ; then
- # Nothing to do
- :;
- elif tc-ld-is-gold || use lto; then
- append-ldflags -Wl,--no-keep-memory
- else
- append-ldflags -Wl,--no-keep-memory -Wl,--reduce-memory-overheads
+ if [[ ${PN} != seamonkey ]] ; then
+ # Reduce the memory requirements for linking
+ if use clang ; then
+ # Nothing to do
+ :;
+ elif tc-ld-is-gold || use lto; then
+ append-ldflags -Wl,--no-keep-memory
+ else
+ append-ldflags -Wl,--no-keep-memory -Wl,--reduce-memory-overheads
+ fi
fi
;;
alpha)
@@ -230,14 +232,16 @@ mozconfig_init() {
;;
ppc64)
append-flags -fPIC
- # Reduce the memory requirements for linking
- if use clang ; then
- # Nothing to do
- :;
- elif tc-ld-is-gold || use lto; then
- append-ldflags -Wl,--no-keep-memory
- else
- append-ldflags -Wl,--no-keep-memory -Wl,--reduce-memory-overheads
+ if [[ ${PN} != seamonkey ]] ; then
+ # Reduce the memory requirements for linking
+ if use clang ; then
+ # Nothing to do
+ :;
+ elif tc-ld-is-gold || use lto; then
+ append-ldflags -Wl,--no-keep-memory
+ else
+ append-ldflags -Wl,--no-keep-memory -Wl,--reduce-memory-overheads
+ fi
fi
;;
esac