summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Tilley <lv@gentoo.org>2004-08-25 19:52:45 +0000
committerTravis Tilley <lv@gentoo.org>2004-08-25 19:52:45 +0000
commitd9513d4a24dd29d650a69157b301cf957ae13617 (patch)
tree6440f7fb11bd354abb5eb96b7dc834dc254da3fb /sys-libs/libstdc++-v3
parentdigest fix (Manifest recommit) (diff)
downloadgentoo-2-d9513d4a24dd29d650a69157b301cf957ae13617.tar.gz
gentoo-2-d9513d4a24dd29d650a69157b301cf957ae13617.tar.bz2
gentoo-2-d9513d4a24dd29d650a69157b301cf957ae13617.zip
filter amd64-specific x86 marchs introduced in gcc 3.4
Diffstat (limited to 'sys-libs/libstdc++-v3')
-rw-r--r--sys-libs/libstdc++-v3/libstdc++-v3-3.3.3-r1.ebuild7
1 files changed, 6 insertions, 1 deletions
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 328a45971d62..ebc9e7703985 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.21 2004/08/19 08:29:16 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libstdc++-v3/libstdc++-v3-3.3.3-r1.ebuild,v 1.22 2004/08/25 19:52:45 lv Exp $
inherit eutils flag-o-matic libtool
@@ -20,6 +20,11 @@ do_filter_flags() {
[ ! -z "${setting}" ] && filter-flags -march="${setting}"
fi
+ # and on x86, we just need to filter the 3.4 specific amd64 -marchs
+ filter-flags -march=k8
+ filter-flags -march=athlon64
+ filter-flags -march=opteron
+
# gcc 3.3 doesn't support -march=pentium-m
replace-flags -march=pentium-m -march=pentium3