Gentoo Archives: gentoo-commits

From: "Raul Porcel (armin76)" <armin76@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: mozcoreconf-2.eclass
Date: Thu, 02 Apr 2009 19:14:58
Message-Id: E1LpSNM-0007hA-Mk@stork.gentoo.org
1 armin76 09/04/02 19:14:56
2
3 Modified: mozcoreconf-2.eclass
4 Log:
5 Force custom-optimization on alpha
6
7 Revision Changes Path
8 1.11 eclass/mozcoreconf-2.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mozcoreconf-2.eclass?rev=1.11&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mozcoreconf-2.eclass?rev=1.11&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mozcoreconf-2.eclass?r1=1.10&r2=1.11
13
14 Index: mozcoreconf-2.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/mozcoreconf-2.eclass,v
17 retrieving revision 1.10
18 retrieving revision 1.11
19 diff -u -r1.10 -r1.11
20 --- mozcoreconf-2.eclass 23 Feb 2009 16:36:12 -0000 1.10
21 +++ mozcoreconf-2.eclass 2 Apr 2009 19:14:56 -0000 1.11
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.10 2009/02/23 16:36:12 armin76 Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/mozcoreconf-2.eclass,v 1.11 2009/04/02 19:14:56 armin76 Exp $
27 #
28 # mozcoreconf.eclass : core options for mozilla
29 # inherit mozconfig-2 if you need USE flags
30 @@ -80,7 +80,7 @@
31 # Set optimization level
32 if [[ ${ARCH} == hppa ]]; then
33 mozconfig_annotate "more than -O0 causes segfaults on hppa" --enable-optimize=-O0
34 - elif use custom-optimization; then
35 + elif use custom-optimization || [[ ${ARCH} == alpha ]];; then
36 # Set optimization level based on CFLAGS
37 if is-flag -O0; then
38 mozconfig_annotate "from CFLAGS" --enable-optimize=-O0