diff options
author | Nirbheek Chauhan <nirbheek@gentoo.org> | 2010-06-26 17:18:11 +0000 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@gentoo.org> | 2010-06-26 17:18:11 +0000 |
commit | 34b85e6e2363014b701a3b09133cf62e7b8a2d2f (patch) | |
tree | b2e9194ed823a3bc621b2411245c9f8e0f470759 /eclass | |
parent | ppc stable #323421 (diff) | |
download | gentoo-2-34b85e6e2363014b701a3b09133cf62e7b8a2d2f.tar.gz gentoo-2-34b85e6e2363014b701a3b09133cf62e7b8a2d2f.tar.bz2 gentoo-2-34b85e6e2363014b701a3b09133cf62e7b8a2d2f.zip |
Add ia64 to the list of arches with custom-optimization forced on, requested by armin76
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/mozcoreconf-2.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/mozcoreconf-2.eclass b/eclass/mozcoreconf-2.eclass index 425f11041ca6..cfa713f58caa 100644 --- a/eclass/mozcoreconf-2.eclass +++ b/eclass/mozcoreconf-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/mozcoreconf-2.eclass,v 1.15 2010/01/27 18:58:04 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/mozcoreconf-2.eclass,v 1.16 2010/06/26 17:18:11 nirbheek Exp $ # # mozcoreconf.eclass : core options for mozilla # inherit mozconfig-2 if you need USE flags @@ -86,7 +86,7 @@ mozconfig_init() { mozconfig_annotate "more than -O0 causes segfaults on hppa" --enable-optimize=-O0 elif [[ ${ARCH} == x86 ]]; then mozconfig_annotate "less then -O2 causes a segfault on x86" --enable-optimize=-O2 - elif use custom-optimization || [[ ${ARCH} == alpha ]]; then + elif use custom-optimization || [[ ${ARCH} =~ (alpha|ia64) ]]; then # Set optimization level based on CFLAGS if is-flag -O0; then mozconfig_annotate "from CFLAGS" --enable-optimize=-O0 |