diff options
author | Raúl Porcel <armin76@gentoo.org> | 2009-04-02 19:14:56 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2009-04-02 19:14:56 +0000 |
commit | 80261f06aeab04acf1d2daaa02b015c5c9668ffc (patch) | |
tree | 782f185b1c4113c7cee264b760a8abbf9ee1df21 /eclass | |
parent | configure isn't an autoconf script so don't try to treat it like one. (diff) | |
download | gentoo-2-80261f06aeab04acf1d2daaa02b015c5c9668ffc.tar.gz gentoo-2-80261f06aeab04acf1d2daaa02b015c5c9668ffc.tar.bz2 gentoo-2-80261f06aeab04acf1d2daaa02b015c5c9668ffc.zip |
Force custom-optimization on alpha
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/mozcoreconf-2.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
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 |