From 80261f06aeab04acf1d2daaa02b015c5c9668ffc Mon Sep 17 00:00:00 2001 From: Raúl Porcel Date: Thu, 2 Apr 2009 19:14:56 +0000 Subject: Force custom-optimization on alpha --- eclass/mozcoreconf-2.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'eclass') diff --git a/eclass/mozcoreconf-2.eclass b/eclass/mozcoreconf-2.eclass index 08731c169a03..d429382cf3b4 100644 --- a/eclass/mozcoreconf-2.eclass +++ b/eclass/mozcoreconf-2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/mozcoreconf-2.eclass,v 1.10 2009/02/23 16:36:12 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/mozcoreconf-2.eclass,v 1.11 2009/04/02 19:14:56 armin76 Exp $ # # mozcoreconf.eclass : core options for mozilla # inherit mozconfig-2 if you need USE flags @@ -80,7 +80,7 @@ mozconfig_init() { # Set optimization level if [[ ${ARCH} == hppa ]]; then mozconfig_annotate "more than -O0 causes segfaults on hppa" --enable-optimize=-O0 - elif use custom-optimization; then + elif use custom-optimization || [[ ${ARCH} == alpha ]];; then # Set optimization level based on CFLAGS if is-flag -O0; then mozconfig_annotate "from CFLAGS" --enable-optimize=-O0 -- cgit v1.2.3-65-gdbad