summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/gcc/gcc-3.3.5.20050130-r1.ebuild')
-rw-r--r--sys-devel/gcc/gcc-3.3.5.20050130-r1.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys-devel/gcc/gcc-3.3.5.20050130-r1.ebuild b/sys-devel/gcc/gcc-3.3.5.20050130-r1.ebuild
index 853d154d7149..0ea0edc40ece 100644
--- a/sys-devel/gcc/gcc-3.3.5.20050130-r1.ebuild
+++ b/sys-devel/gcc/gcc-3.3.5.20050130-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-3.3.5.20050130-r1.ebuild,v 1.2 2005/03/22 02:56:38 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-3.3.5.20050130-r1.ebuild,v 1.3 2005/03/23 00:10:21 vapier Exp $
MAN_VER="3.3.5"
PATCH_VER="1.4"
@@ -37,7 +37,7 @@ inherit toolchain eutils
DESCRIPTION="The GNU Compiler Collection. Includes C/C++, java compilers, pie+ssp extensions, Haj Ten Brugge runtime bounds checking"
-KEYWORDS="~alpha -amd64 ~arm ~hppa -ia64 ~mips ~sh sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa -ia64 ~mips ~sh sparc ~x86"
# NOTE: we SHOULD be using at least binutils 2.15.90.0.1 everywhere for proper
# .eh_frame ld optimisation and symbol visibility support, but it hasnt been
@@ -90,4 +90,8 @@ src_unpack() {
epatch ${FILESDIR}/3.3.4/libffi-without-libgcj.patch
#epatch ${FILESDIR}/3.4.3/libffi-nogcj-lib-path-fix.patch
fi
+
+ if [[ $(tc-arch) == "amd64" ]] ; then
+ replace-cpu-flags k8 i686
+ fi
}