diff options
author | Jeroen Roovers <jer@gentoo.org> | 2011-04-02 17:36:17 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2011-04-02 17:36:17 +0000 |
commit | 875f652928fc0b1e40975a78408351848600d6dc (patch) | |
tree | e82737f5d28c3a74c6c1f97626f99f9d4c29a79c /eclass/mozcoreconf-2.eclass | |
parent | Version bump, twisted tests were removed by upstream. (diff) | |
download | gentoo-2-875f652928fc0b1e40975a78408351848600d6dc.tar.gz gentoo-2-875f652928fc0b1e40975a78408351848600d6dc.tar.bz2 gentoo-2-875f652928fc0b1e40975a78408351848600d6dc.zip |
Put back the HPPA optimization exception.
Diffstat (limited to 'eclass/mozcoreconf-2.eclass')
-rw-r--r-- | eclass/mozcoreconf-2.eclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/mozcoreconf-2.eclass b/eclass/mozcoreconf-2.eclass index 964ffe8b40e9..43dd068a097c 100644 --- a/eclass/mozcoreconf-2.eclass +++ b/eclass/mozcoreconf-2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/mozcoreconf-2.eclass,v 1.18 2011/03/21 00:25:11 nirbheek Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/mozcoreconf-2.eclass,v 1.19 2011/04/02 17:36:17 jer Exp $ # # mozcoreconf.eclass : core options for mozilla # inherit mozconfig-2 if you need USE flags @@ -125,7 +125,9 @@ mozconfig_init() { #################################### # Set optimization level - if [[ ${ARCH} == x86 ]]; then + if [[ ${ARCH} == hppa ]]; then + mozconfig_annotate "more than -O0 causes a segfault 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|ia64) ]]; then # Set optimization level based on CFLAGS |