summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2011-04-02 17:36:17 +0000
committerJeroen Roovers <jer@gentoo.org>2011-04-02 17:36:17 +0000
commitf3c7c7182d1e2dd59350e7a673c46e2183fd2bf8 (patch)
treefe36cf8bbaf12ce2e56ac4f521f131a7156d326b
parentVersion bump, twisted tests were removed by upstream. (diff)
downloadhistorical-f3c7c7182d1e2dd59350e7a673c46e2183fd2bf8.tar.gz
historical-f3c7c7182d1e2dd59350e7a673c46e2183fd2bf8.tar.bz2
historical-f3c7c7182d1e2dd59350e7a673c46e2183fd2bf8.zip
Put back the HPPA optimization exception.
-rw-r--r--eclass/mozcoreconf-2.eclass6
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