summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJory Pratt <anarchy@gentoo.org>2019-09-14 15:55:35 -0500
committerJory Pratt <anarchy@gentoo.org>2019-09-14 15:56:35 -0500
commit060e22f07d78978e8e856626a912d1dda3c2f796 (patch)
tree9474e8f15487c4ebc74a7c44cf410318e36a54d1 /eclass
parentdev-python/fs: Add test dependencies (diff)
downloadgentoo-060e22f07d78978e8e856626a912d1dda3c2f796.tar.gz
gentoo-060e22f07d78978e8e856626a912d1dda3c2f796.tar.bz2
gentoo-060e22f07d78978e8e856626a912d1dda3c2f796.zip
eclass/mozcoreconf-v6: revert lto hack for ppc/arm
Signed-off-by: Jory Pratt <anarchy@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/mozcoreconf-v6.eclass40
1 files changed, 9 insertions, 31 deletions
diff --git a/eclass/mozcoreconf-v6.eclass b/eclass/mozcoreconf-v6.eclass
index 78104b55fb6e..03ffac7914dc 100644
--- a/eclass/mozcoreconf-v6.eclass
+++ b/eclass/mozcoreconf-v6.eclass
@@ -103,12 +103,6 @@ moz_pkgsetup() {
# false positives when toplevel configure passes downwards.
export QA_CONFIGURE_OPTIONS=".*"
- if [[ $(gcc-major-version) -eq 3 ]]; then
- ewarn "Unsupported compiler detected, DO NOT file bugs for"
- ewarn "outdated compilers. Bugs opened with gcc-3 will be closed"
- ewarn "invalid."
- fi
-
python-any-r1_pkg_setup
# workaround to set python3 into PYTHON3 until mozilla doesn't need py2
if [[ "${PYTHON_COMPAT[@]}" != "${PYTHON_COMPAT[@]#python3*}" ]]; then
@@ -207,17 +201,15 @@ 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
+ arm | ppc64)
+ # Reduce the memory requirements for linking
+ if use clang ; then
+ # Nothing to do
+ :;
+ elif tc-ld-is-gold; then
+ append-ldflags -Wl,--no-keep-memory
+ else
+ append-ldflags -Wl,--no-keep-memory -Wl,--reduce-memory-overheads
fi
;;
alpha)
@@ -230,20 +222,6 @@ mozconfig_init() {
# Historically we have needed to add this manually for 64-bit
append-flags -fPIC
;;
- 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
- fi
- ;;
esac
# We need to append flags for gcc-6 support