diff options
author | Aron Griffis <agriffis@gentoo.org> | 2003-10-22 16:38:44 +0000 |
---|---|---|
committer | Aron Griffis <agriffis@gentoo.org> | 2003-10-22 16:38:44 +0000 |
commit | a0c0a9c71e2aa517f7cdb96e24a1c1f427d89980 (patch) | |
tree | d35cf312850542cc1ce50c31ee9f32f990eb3f94 /eclass | |
parent | set ppc in keywords (diff) | |
download | gentoo-2-a0c0a9c71e2aa517f7cdb96e24a1c1f427d89980.tar.gz gentoo-2-a0c0a9c71e2aa517f7cdb96e24a1c1f427d89980.tar.bz2 gentoo-2-a0c0a9c71e2aa517f7cdb96e24a1c1f427d89980.zip |
fix gcc-2 compile on ev67
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/gcc.eclass | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/eclass/gcc.eclass b/eclass/gcc.eclass index 9665cfa29330..f96f43838260 100644 --- a/eclass/gcc.eclass +++ b/eclass/gcc.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/gcc.eclass,v 1.14 2003/06/25 19:52:53 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gcc.eclass,v 1.15 2003/10/22 16:38:44 agriffis Exp $ # # Author: Martin Schlemmer <azarah@gentoo.org> # @@ -123,5 +123,11 @@ gcc2-flags() { CXXFLAGS=${CXXFLAGS//athlon-[xm]p/i686} CXXFLAGS=${CXXFLAGS//athlon/i686} + if [ "$ARCH" = alpha ]; then + CHOST=${CHOST/#alphaev6[78]/alphaev6} + CFLAGS=${CFLAGS//ev6[78]/ev6} + CXXFLAGS=${CXXFLAGS//ev6[78]/ev6} + fi + export CFLAGS CXXFLAGS } |