Gentoo Archives: gentoo-commits

From: "Nirbheek Chauhan (nirbheek)" <nirbheek@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: mozcoreconf-2.eclass
Date: Sat, 26 Jun 2010 17:18:13
Message-Id: 20100626171811.EC86B2CF7D@corvid.gentoo.org
1 nirbheek 10/06/26 17:18:11
2
3 Modified: mozcoreconf-2.eclass
4 Log:
5 Add ia64 to the list of arches with custom-optimization forced on, requested by armin76
6
7 Revision Changes Path
8 1.16 eclass/mozcoreconf-2.eclass
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mozcoreconf-2.eclass?rev=1.16&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mozcoreconf-2.eclass?rev=1.16&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mozcoreconf-2.eclass?r1=1.15&r2=1.16
13
14 Index: mozcoreconf-2.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/mozcoreconf-2.eclass,v
17 retrieving revision 1.15
18 retrieving revision 1.16
19 diff -u -r1.15 -r1.16
20 --- mozcoreconf-2.eclass 27 Jan 2010 18:58:04 -0000 1.15
21 +++ mozcoreconf-2.eclass 26 Jun 2010 17:18:11 -0000 1.16
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2007 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.15 2010/01/27 18:58:04 armin76 Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/mozcoreconf-2.eclass,v 1.16 2010/06/26 17:18:11 nirbheek Exp $
27 #
28 # mozcoreconf.eclass : core options for mozilla
29 # inherit mozconfig-2 if you need USE flags
30 @@ -86,7 +86,7 @@
31 mozconfig_annotate "more than -O0 causes segfaults on hppa" --enable-optimize=-O0
32 elif [[ ${ARCH} == x86 ]]; then
33 mozconfig_annotate "less then -O2 causes a segfault on x86" --enable-optimize=-O2
34 - elif use custom-optimization || [[ ${ARCH} == alpha ]]; then
35 + elif use custom-optimization || [[ ${ARCH} =~ (alpha|ia64) ]]; then
36 # Set optimization level based on CFLAGS
37 if is-flag -O0; then
38 mozconfig_annotate "from CFLAGS" --enable-optimize=-O0