summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-02-15 23:04:39 +0000
committerMike Frysinger <vapier@gentoo.org>2009-02-15 23:04:39 +0000
commit2882536e1e202ecda5094318742026dcbb439dab (patch)
treedbdd8fc3bdd47e5ee69240edd7159162aca154f2 /eclass/toolchain.eclass
parentUse the replace-cpu-flags logic in the eclass #252698 by Le retraité. (diff)
downloadgentoo-2-2882536e1e202ecda5094318742026dcbb439dab.tar.gz
gentoo-2-2882536e1e202ecda5094318742026dcbb439dab.tar.bz2
gentoo-2-2882536e1e202ecda5094318742026dcbb439dab.zip
replace more cpu flags for gcc-3.3 #252698 by Le retraité
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 85d56f363f25..5867fa7edaf5 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.390 2009/02/09 19:56:07 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.391 2009/02/15 23:04:39 vapier Exp $
#
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
@@ -1555,10 +1555,10 @@ gcc_do_filter_flags() {
case ${GCC_BRANCH_VER} in
3.2|3.3)
+ replace-cpu-flags k8 athlon64 opteron i686
+ replace-cpu-flags pentium-m pentium3m pentium3
case $(tc-arch) in
- x86) filter-flags '-mtune=*';;
- amd64) filter-flags '-mtune=*'
- replace-cpu-flags k8 athlon64 opteron i686;;
+ amd64|x86) filter-flags '-mtune=*';;
esac
;;
3.4|4.*)