diff options
author | Gustavo Zacarias <gustavoz@gentoo.org> | 2004-08-20 19:52:47 +0000 |
---|---|---|
committer | Gustavo Zacarias <gustavoz@gentoo.org> | 2004-08-20 19:52:47 +0000 |
commit | f3f96d47f4485155fe9bb746a9c10bcfadb872cd (patch) | |
tree | ff23f0d7081bd2764364967202960b5ceb1074f8 /sys-devel | |
parent | use.mask hardened (diff) | |
download | gentoo-2-f3f96d47f4485155fe9bb746a9c10bcfadb872cd.tar.gz gentoo-2-f3f96d47f4485155fe9bb746a9c10bcfadb872cd.tar.bz2 gentoo-2-f3f96d47f4485155fe9bb746a9c10bcfadb872cd.zip |
Enabled -O2 for sparc: safe and good
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/gcc/ChangeLog | 5 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-3.3.4-r1.ebuild | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/sys-devel/gcc/ChangeLog b/sys-devel/gcc/ChangeLog index c990fb2856ab..67c20e2d4a50 100644 --- a/sys-devel/gcc/ChangeLog +++ b/sys-devel/gcc/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-devel/gcc # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v 1.308 2004/08/18 03:55:12 lv Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v 1.309 2004/08/20 19:52:47 gustavoz Exp $ + + 20 Aug 2004; Gustavo Zacarias <gustavoz@gentoo.org> gcc-3.3.4-r1.ebuild: + Enabled -O2 for sparc: safe and good 17 Aug 2004; Travis Tilley <lv@gentoo.org> gcc-3.4.1-r2.ebuild, gcc-3.4.1.ebuild: diff --git a/sys-devel/gcc/gcc-3.3.4-r1.ebuild b/sys-devel/gcc/gcc-3.3.4-r1.ebuild index b9f3c6feb586..11003dc9231d 100644 --- a/sys-devel/gcc/gcc-3.3.4-r1.ebuild +++ b/sys-devel/gcc/gcc-3.3.4-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-3.3.4-r1.ebuild,v 1.9 2004/08/12 00:28:46 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-3.3.4-r1.ebuild,v 1.10 2004/08/20 19:52:47 gustavoz Exp $ inherit eutils flag-o-matic libtool gnuconfig @@ -13,6 +13,9 @@ do_filter_flags() { # In general gcc does not like optimization ... we'll add -O2 where safe filter-flags -O? + # -O2 is safe and good for sparc + [ "${ARCH}" = "sparc" ] && append-flags -O2 + # Compile problems with these (bug #6641 among others)... #filter-flags -fno-exceptions -fomit-frame-pointer -fforce-addr } |