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
commit7b05b23fa74f79b26ebf9aa672c545c46c7d6d12 (patch)
tree549dafae3fcd0e5f771d82fabf5c31d6a68d3b61 /eclass/tetex.eclass
parentStable on ppc64 (diff)
downloadhistorical-7b05b23fa74f79b26ebf9aa672c545c46c7d6d12.tar.gz
historical-7b05b23fa74f79b26ebf9aa672c545c46c7d6d12.tar.bz2
historical-7b05b23fa74f79b26ebf9aa672c545c46c7d6d12.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"