diff options
author | 2008-01-05 16:15:09 +0000 | |
---|---|---|
committer | 2008-01-05 16:15:09 +0000 | |
commit | c1db9111b88754c2d92db4454caf3c7d43aa121c (patch) | |
tree | b156ab361e71fed640e06cac017d584abd13b02c /eclass/mozcoreconf.eclass | |
parent | Fail. Kino 1.2.0 installs ffmpeg2theora.sh by itself wrt #204424, stop provid... (diff) | |
download | historical-c1db9111b88754c2d92db4454caf3c7d43aa121c.tar.gz historical-c1db9111b88754c2d92db4454caf3c7d43aa121c.tar.bz2 historical-c1db9111b88754c2d92db4454caf3c7d43aa121c.zip |
Enable -Os
Diffstat (limited to 'eclass/mozcoreconf.eclass')
-rw-r--r-- | eclass/mozcoreconf.eclass | 4 |
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 |