diff options
author | Raúl Porcel <armin76@gentoo.org> | 2008-07-19 16:56:19 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2008-07-19 16:56:19 +0000 |
commit | 62aaffd06e3a5d2c2f48a81bab7e8c7d50b60fd0 (patch) | |
tree | ebee1a469db1f469d865dc90a6b6f902c89c6d87 /eclass/mozcoreconf-2.eclass | |
parent | Version bump <http://labs.opera.com/news/2008/07/18/>. (diff) | |
download | gentoo-2-62aaffd06e3a5d2c2f48a81bab7e8c7d50b60fd0.tar.gz gentoo-2-62aaffd06e3a5d2c2f48a81bab7e8c7d50b60fd0.tar.bz2 gentoo-2-62aaffd06e3a5d2c2f48a81bab7e8c7d50b60fd0.zip |
Allow -O2 as well
Diffstat (limited to 'eclass/mozcoreconf-2.eclass')
-rw-r--r-- | eclass/mozcoreconf-2.eclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/mozcoreconf-2.eclass b/eclass/mozcoreconf-2.eclass index 6e2c65601052..21a6cf821f7b 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.6 2008/07/18 17:55:00 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/mozcoreconf-2.eclass,v 1.7 2008/07/19 16:56:19 armin76 Exp $ # # mozcoreconf.eclass : core options for mozilla # inherit mozconfig-2 if you need USE flags @@ -90,6 +90,8 @@ mozconfig_init() { mozconfig_annotate "from CFLAGS" --enable-optimize=-O1 elif is-flag -Os; then mozconfig_annotate "from CFLAGS" --enable-optimize=-Os + else + mozconfig_annotate "Gentoo's default optimization" --enable-optimize=-O2 fi else # Enable Mozilla's default |