summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-05-12 15:24:00 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-05-12 15:24:00 +0000
commit49819ffc38d71ecffff67786094163d7740a0490 (patch)
tree7d9e1ffe55cde9744cb4a2662554003f8109affc /eclass/tetex.eclass
parentStable on ppc64 (diff)
downloadgentoo-2-49819ffc38d71ecffff67786094163d7740a0490.tar.gz
gentoo-2-49819ffc38d71ecffff67786094163d7740a0490.tar.bz2
gentoo-2-49819ffc38d71ecffff67786094163d7740a0490.zip
Replace -Os by -O2 instead of filtering it. I'm not sure if that's still a valid flag mess, but anyway tetex is on its way to deprecation. Bug #191244
Diffstat (limited to 'eclass/tetex.eclass')
-rw-r--r--eclass/tetex.eclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/tetex.eclass b/eclass/tetex.eclass
index e4a88eb5cc85..31f76449e461 100644
--- a/eclass/tetex.eclass
+++ b/eclass/tetex.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/tetex.eclass,v 1.55 2008/05/12 15:19:15 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/tetex.eclass,v 1.56 2008/05/12 15:24:00 aballier Exp $
#
# Author: Jaromir Malenko <malenko@email.cz>
# Author: Mamoru KOMACHI <usata@gentoo.org>
@@ -113,8 +113,10 @@ tetex_src_unpack() {
tetex_src_compile() {
+ filter-flags "-fstack-protector"
# filter -Os; bug #74708.
- filter-flags "-fstack-protector" "-Os"
+ # replace by -O2 instead, bug #191244
+ replace-flags -Os -O2
einfo "Building teTeX"