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
commitfc43e11ecfcd7cebc88edf2df7efaf5c551aa65d (patch)
tree6e89c4d929eef523006dcee9cef5c5391fec8457 /eclass/mozilla.eclass
parentversion bump (bug #88896) (diff)
downloadgentoo-2-fc43e11ecfcd7cebc88edf2df7efaf5c551aa65d.tar.gz
gentoo-2-fc43e11ecfcd7cebc88edf2df7efaf5c551aa65d.tar.bz2
gentoo-2-fc43e11ecfcd7cebc88edf2df7efaf5c551aa65d.zip
add ppc64 support
Diffstat (limited to 'eclass/mozilla.eclass')
-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