summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gall <tgall@gentoo.org>2005-04-17 05:00:05 +0000
committerTom Gall <tgall@gentoo.org>2005-04-17 05:00:05 +0000
commit6f47879a5bed7279bf634dfa7affd2e55bbe9cae (patch)
tree8b875bade36b51a821873bbebebbe908ad56548d
parentversion bump (bug #88896) (diff)
downloadhistorical-6f47879a5bed7279bf634dfa7affd2e55bbe9cae.tar.gz
historical-6f47879a5bed7279bf634dfa7affd2e55bbe9cae.tar.bz2
historical-6f47879a5bed7279bf634dfa7affd2e55bbe9cae.zip
add ppc64 support
-rw-r--r--eclass/mozilla.eclass9
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