diff options
Diffstat (limited to 'eclass/mozcoreconf-v6.eclass')
-rw-r--r-- | eclass/mozcoreconf-v6.eclass | 36 |
1 files changed, 16 insertions, 20 deletions
diff --git a/eclass/mozcoreconf-v6.eclass b/eclass/mozcoreconf-v6.eclass index 78104b55fb6e..2789e6046b9f 100644 --- a/eclass/mozcoreconf-v6.eclass +++ b/eclass/mozcoreconf-v6.eclass @@ -208,16 +208,14 @@ mozconfig_init() { # Additional ARCH support case "${ARCH}" in arm) - 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 + # 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 ;; alpha) @@ -232,16 +230,14 @@ mozconfig_init() { ;; ppc64) append-flags -fPIC - 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 + # 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 ;; esac |