summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/mozconfig-2.eclass6
-rw-r--r--eclass/mozconfig-3.eclass6
2 files changed, 8 insertions, 4 deletions
diff --git a/eclass/mozconfig-2.eclass b/eclass/mozconfig-2.eclass
index bd789fba9501..380bb562f6ff 100644
--- a/eclass/mozconfig-2.eclass
+++ b/eclass/mozconfig-2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mozconfig-2.eclass,v 1.17 2007/03/24 14:52:41 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mozconfig-2.eclass,v 1.18 2008/07/16 11:39:22 armin76 Exp $
#
# mozconfig.eclass: the new mozilla.eclass
@@ -56,7 +56,9 @@ mozconfig_config() {
# Currently --enable-elf-dynstr-gc only works for x86 and ppc,
# thanks to Jason Wever <weeve@gentoo.org> for the fix.
- if use x86 || use ppc && [[ ${enable_optimize} != -O0 ]]; then
+ # -- This breaks now on ppc, no idea why
+# if use x86 || use ppc && [[ ${enable_optimize} != -O0 ]]; then
+ if use x86 && [[ ${enable_optimize} != -O0 ]]; then
mozconfig_annotate "${ARCH} optimized build" --enable-elf-dynstr-gc
fi
fi
diff --git a/eclass/mozconfig-3.eclass b/eclass/mozconfig-3.eclass
index 45c565e805b4..35f364a90a9e 100644
--- a/eclass/mozconfig-3.eclass
+++ b/eclass/mozconfig-3.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mozconfig-3.eclass,v 1.3 2008/06/17 11:51:37 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mozconfig-3.eclass,v 1.4 2008/07/16 11:39:22 armin76 Exp $
#
# mozconfig.eclass: the new mozilla.eclass
@@ -64,7 +64,9 @@ mozconfig_config() {
# Currently --enable-elf-dynstr-gc only works for x86 and ppc,
# thanks to Jason Wever <weeve@gentoo.org> for the fix.
- if use x86 || use ppc && [[ ${enable_optimize} != -O0 ]]; then
+ # -- This breaks now on ppc, no idea why
+# if use x86 || use ppc && [[ ${enable_optimize} != -O0 ]]; then
+ if use x86 && [[ ${enable_optimize} != -O0 ]]; then
mozconfig_annotate "${ARCH} optimized build" --enable-elf-dynstr-gc
fi
# fi