summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-01-05 16:15:09 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-01-05 16:15:09 +0000
commitac7d4dee305485f73df0010a04d30961acb20ca8 (patch)
tree16c1790e59423e13625cdbd479f1991903363e6f /eclass
parentFail. Kino 1.2.0 installs ffmpeg2theora.sh by itself wrt #204424, stop provid... (diff)
downloadgentoo-2-ac7d4dee305485f73df0010a04d30961acb20ca8.tar.gz
gentoo-2-ac7d4dee305485f73df0010a04d30961acb20ca8.tar.bz2
gentoo-2-ac7d4dee305485f73df0010a04d30961acb20ca8.zip
Enable -Os
Diffstat (limited to 'eclass')
-rw-r--r--eclass/mozcoreconf.eclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/mozcoreconf.eclass b/eclass/mozcoreconf.eclass
index 1b211db96c63..b74539cc0f8b 100644
--- a/eclass/mozcoreconf.eclass
+++ b/eclass/mozcoreconf.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.eclass,v 1.13 2007/11/26 21:07:57 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mozcoreconf.eclass,v 1.14 2008/01/05 16:15:09 armin76 Exp $
#
# mozcoreconf.eclass : core options for mozilla
# inherit mozconfig-2 if you need USE flags
@@ -82,6 +82,8 @@ mozconfig_init() {
mozconfig_annotate "more than -O0 causes segfaults on hppa" --enable-optimize=-O0
elif is-flag -O1; then
mozconfig_annotate "from CFLAGS" --enable-optimize=-O1
+ elif is-flag -Os; then
+ mozconfig_annotate "from CFLAGS" --enable-optimize=-Os
else
mozconfig_annotate "mozilla fallback" --enable-optimize=-O2
fi