summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-07-19 16:56:19 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-07-19 16:56:19 +0000
commitd80a37ebdfad4ae9e4e4932e7fb949bd938b3d5b (patch)
tree74de5965cf43d0cd21a21b11c60ba1f9e974f78f /eclass/mozcoreconf-2.eclass
parentVersion bump <http://labs.opera.com/news/2008/07/18/>. (diff)
downloadhistorical-d80a37ebdfad4ae9e4e4932e7fb949bd938b3d5b.tar.gz
historical-d80a37ebdfad4ae9e4e4932e7fb949bd938b3d5b.tar.bz2
historical-d80a37ebdfad4ae9e4e4932e7fb949bd938b3d5b.zip
Allow -O2 as well
Diffstat (limited to 'eclass/mozcoreconf-2.eclass')
-rw-r--r--eclass/mozcoreconf-2.eclass4
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