summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-11-15 22:17:56 +0000
committerMike Frysinger <vapier@gentoo.org>2006-11-15 22:17:56 +0000
commit245973244bc7f0274a82a8702b90edf73286dcd6 (patch)
tree06916f173b8c8abba1ca97b5d5bbdda83a66c107 /eclass/flag-o-matic.eclass
parentSimplified... (diff)
downloadhistorical-245973244bc7f0274a82a8702b90edf73286dcd6.tar.gz
historical-245973244bc7f0274a82a8702b90edf73286dcd6.tar.bz2
historical-245973244bc7f0274a82a8702b90edf73286dcd6.zip
move gcc2-flags() to the gcc2 ebuild
Diffstat (limited to 'eclass/flag-o-matic.eclass')
-rw-r--r--eclass/flag-o-matic.eclass24
1 files changed, 1 insertions, 23 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
index b6f6d8fa58d3..2c1b2f19d850 100644
--- a/eclass/flag-o-matic.eclass
+++ b/eclass/flag-o-matic.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/flag-o-matic.eclass,v 1.111 2006/10/14 20:27:21 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.112 2006/11/15 22:17:56 vapier Exp $
#
# Maintainer: base-system@gentoo.org
@@ -573,28 +573,6 @@ raw-ldflags() {
echo "$@"
}
-# This is thanks to great work from Paul de Vrieze <gentoo-user@devrieze.net>,
-# bug #9016. Also thanks to Jukka Salmi <salmi@gmx.net> (bug #13907) for more
-# fixes.
-#
-# Export CFLAGS and CXXFLAGS that are compadible with gcc-2.95.3
-gcc2-flags() {
- if [[ $(tc-arch) == "x86" || $(tc-arch) == "amd64" ]] ; then
- CFLAGS=${CFLAGS//-mtune=/-mcpu=}
- CXXFLAGS=${CXXFLAGS//-mtune=/-mcpu=}
- fi
-
- replace-cpu-flags k6-{2,3} k6
- replace-cpu-flags athlon{,-{tbird,4,xp,mp}} i686
-
- replace-cpu-flags pentium-mmx i586
- replace-cpu-flags pentium{2,3,4} i686
-
- replace-cpu-flags ev6{7,8} ev6
-
- export CFLAGS CXXFLAGS
-}
-
# Gets the flags needed for "NOW" binding
bindnow-flags() {
case $($(tc-getLD) -v 2>&1 </dev/null) in