diff options
author | Tom Gall <tgall@gentoo.org> | 2005-04-17 05:00:05 +0000 |
---|---|---|
committer | Tom Gall <tgall@gentoo.org> | 2005-04-17 05:00:05 +0000 |
commit | 6f47879a5bed7279bf634dfa7affd2e55bbe9cae (patch) | |
tree | 8b875bade36b51a821873bbebebbe908ad56548d /eclass/mozilla.eclass | |
parent | version bump (bug #88896) (diff) | |
download | historical-6f47879a5bed7279bf634dfa7affd2e55bbe9cae.tar.gz historical-6f47879a5bed7279bf634dfa7affd2e55bbe9cae.tar.bz2 historical-6f47879a5bed7279bf634dfa7affd2e55bbe9cae.zip |
add ppc64 support
Diffstat (limited to 'eclass/mozilla.eclass')
-rw-r--r-- | eclass/mozilla.eclass | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/eclass/mozilla.eclass b/eclass/mozilla.eclass index 26815b475bdf..1b9aebe40db7 100644 --- a/eclass/mozilla.eclass +++ b/eclass/mozilla.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/mozilla.eclass,v 1.27 2005/03/23 20:48:49 brad Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/mozilla.eclass,v 1.28 2005/04/17 05:00:05 tgall Exp $ # # You probably don't want to change this eclass. Newer ebuilds use # mozconfig.eclass instead. @@ -65,7 +65,7 @@ mozilla_conf() { mozilla_annotate "from CFLAGS" --enable-optimize=-O0 elif [[ ${ARCH} == hppa ]]; then mozconfig_annotate "more than -O0 causes segfaults on hppa" --enable-optimize=-O0 - elif [[ ${ARCH} == alpha || ${ARCH} == amd64 || ${ARCH} == ia64 ]]; then + elif [[ ${ARCH} == alpha || ${ARCH} == amd64 || ${ARCH} == ia64 || ${ARCH} == ppc64 ]]; then mozilla_annotate "more than -O1 causes segfaults on 64-bit (bug 33767)" \ --enable-optimize=-O1 elif is-flag -O1; then @@ -91,6 +91,11 @@ mozilla_conf() { append-flags -fPIC ;; + ppc64) + append-flags -mminimal-toc + append-flags -fPIC + ;; + ppc) # Fix to avoid gcc-3.3.x micompilation issues. if [[ $(gcc-major-version).$(gcc-minor-version) == 3.3 ]]; then |