From: | "Jeroen Roovers (jer)" <jer@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in eclass: mozcoreconf-2.eclass |
Date: | Sat, 02 Apr 2011 17:36:30 |
Message-Id: | 20110402173617.CF57820054@flycatcher.gentoo.org |
1 | jer 11/04/02 17:36:17 |
2 | |
3 | Modified: mozcoreconf-2.eclass |
4 | Log: |
5 | Put back the HPPA optimization exception. |
6 | |
7 | Revision Changes Path |
8 | 1.19 eclass/mozcoreconf-2.eclass |
9 | |
10 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mozcoreconf-2.eclass?rev=1.19&view=markup |
11 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mozcoreconf-2.eclass?rev=1.19&content-type=text/plain |
12 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mozcoreconf-2.eclass?r1=1.18&r2=1.19 |
13 | |
14 | Index: mozcoreconf-2.eclass |
15 | =================================================================== |
16 | RCS file: /var/cvsroot/gentoo-x86/eclass/mozcoreconf-2.eclass,v |
17 | retrieving revision 1.18 |
18 | retrieving revision 1.19 |
19 | diff -u -r1.18 -r1.19 |
20 | --- mozcoreconf-2.eclass 21 Mar 2011 00:25:11 -0000 1.18 |
21 | +++ mozcoreconf-2.eclass 2 Apr 2011 17:36:17 -0000 1.19 |
22 | @@ -1,6 +1,6 @@ |
23 | # Copyright 1999-2011 Gentoo Foundation |
24 | # Distributed under the terms of the GNU General Public License v2 |
25 | -# $Header: /var/cvsroot/gentoo-x86/eclass/mozcoreconf-2.eclass,v 1.18 2011/03/21 00:25:11 nirbheek Exp $ |
26 | +# $Header: /var/cvsroot/gentoo-x86/eclass/mozcoreconf-2.eclass,v 1.19 2011/04/02 17:36:17 jer Exp $ |
27 | # |
28 | # mozcoreconf.eclass : core options for mozilla |
29 | # inherit mozconfig-2 if you need USE flags |
30 | @@ -125,7 +125,9 @@ |
31 | #################################### |
32 | |
33 | # Set optimization level |
34 | - if [[ ${ARCH} == x86 ]]; then |
35 | + if [[ ${ARCH} == hppa ]]; then |
36 | + mozconfig_annotate "more than -O0 causes a segfault on hppa" --enable-optimize=-O0 |
37 | + elif [[ ${ARCH} == x86 ]]; then |
38 | mozconfig_annotate "less then -O2 causes a segfault on x86" --enable-optimize=-O2 |
39 | elif use custom-optimization || [[ ${ARCH} =~ (alpha|ia64) ]]; then |
40 | # Set optimization level based on CFLAGS |