summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2004-07-31 19:53:40 +0000
committerAron Griffis <agriffis@gentoo.org>2004-07-31 19:53:40 +0000
commit046a93a2fe0b730c01ccd4b5649f1eb4e0e14b6d (patch)
treec7e50a67277d0128a3ec37f85190347b7ba52592 /sys-libs
parentVersion bumped. (Manifest recommit) (diff)
downloadgentoo-2-046a93a2fe0b730c01ccd4b5649f1eb4e0e14b6d.tar.gz
gentoo-2-046a93a2fe0b730c01ccd4b5649f1eb4e0e14b6d.tar.bz2
gentoo-2-046a93a2fe0b730c01ccd4b5649f1eb4e0e14b6d.zip
replace-flags -march=pentium-m -march=pentium3 for gcc-3.3 compat #58967
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libstdc++-v3/ChangeLog6
-rw-r--r--sys-libs/libstdc++-v3/libstdc++-v3-3.3.3-r1.ebuild15
2 files changed, 15 insertions, 6 deletions
diff --git a/sys-libs/libstdc++-v3/ChangeLog b/sys-libs/libstdc++-v3/ChangeLog
index 45f42984ca61..27749bb2108f 100644
--- a/sys-libs/libstdc++-v3/ChangeLog
+++ b/sys-libs/libstdc++-v3/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-libs/libstdc++-v3
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libstdc++-v3/ChangeLog,v 1.13 2004/07/30 22:24:42 morfic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libstdc++-v3/ChangeLog,v 1.14 2004/07/31 19:53:40 agriffis Exp $
+
+ 31 Jul 2004; Aron Griffis <agriffis@gentoo.org>
+ libstdc++-v3-3.3.3-r1.ebuild:
+ replace-flags -march=pentium-m -march=pentium3 for gcc-3.3 compat #58967
30 Jul 2004; Daniel Goller <morfic@gentoo.org> libstdc++-v3-3.3.3-r1.ebuild:
Marked stable on x86
diff --git a/sys-libs/libstdc++-v3/libstdc++-v3-3.3.3-r1.ebuild b/sys-libs/libstdc++-v3/libstdc++-v3-3.3.3-r1.ebuild
index 97e88890661c..3427fd2e6564 100644
--- a/sys-libs/libstdc++-v3/libstdc++-v3-3.3.3-r1.ebuild
+++ b/sys-libs/libstdc++-v3/libstdc++-v3-3.3.3-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-libs/libstdc++-v3/libstdc++-v3-3.3.3-r1.ebuild,v 1.14 2004/07/30 22:24:42 morfic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libstdc++-v3/libstdc++-v3-3.3.3-r1.ebuild,v 1.15 2004/07/31 19:53:40 agriffis Exp $
IUSE="nls"
@@ -30,6 +30,8 @@ inherit eutils flag-o-matic libtool
#
# <azarah@gentoo.org> (13 Oct 2002)
do_filter_flags() {
+ declare setting
+
strip-flags
# In general gcc does not like optimization, and add -O2 where
@@ -38,14 +40,17 @@ do_filter_flags() {
if use amd64
then
- # gcc 3.3 doesnt support -march=k8/etc on amd64, so xgcc will fail
+ # gcc 3.3 doesn't support -march=k8/etc on amd64, so xgcc will fail
setting="`get-flag march`"
[ ! -z "${setting}" ] && filter-flags -march="${setting}"
fi
- # gcc 3.3 doesnt support -mtune on numerous archs, so xgcc will fail
- mtsetting="`get-flag mtune`"
- [ ! -z "${mtsetting}" ] && filter-flags -mtune="${mtsetting}"
+ # gcc 3.3 doesn't support -march=pentium-m
+ replace-flags -march=pentium-m -march=pentium3
+
+ # gcc 3.3 doesn't support -mtune on numerous archs, so xgcc will fail
+ setting="`get-flag mtune`"
+ [ ! -z "${setting}" ] && filter-flags -mtune="${setting}"
# xgcc wont understand gcc 3.4 flags...
filter-flags -fno-unit-at-a-time