summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-08-03 13:24:15 +0000
committerMike Frysinger <vapier@gentoo.org>2004-08-03 13:24:15 +0000
commitd14edfb7e7052643d849a635d0870f46635d9e8d (patch)
tree2eb9f811d1e0e853402c4fa1ed6c9a00acea902d /sys-kernel/gentoo-sources
parentgoodbye $COMPILER (Manifest recommit) (diff)
downloadgentoo-2-d14edfb7e7052643d849a635d0870f46635d9e8d.tar.gz
gentoo-2-d14edfb7e7052643d849a635d0870f46635d9e8d.tar.bz2
gentoo-2-d14edfb7e7052643d849a635d0870f46635d9e8d.zip
goodbye $COMPILER
Diffstat (limited to 'sys-kernel/gentoo-sources')
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-2.4.20-r22.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-kernel/gentoo-sources/gentoo-sources-2.4.20-r22.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-2.4.20-r22.ebuild
index b0123093c3c8..8ef03407f50b 100644
--- a/sys-kernel/gentoo-sources/gentoo-sources-2.4.20-r22.ebuild
+++ b/sys-kernel/gentoo-sources/gentoo-sources-2.4.20-r22.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-kernel/gentoo-sources/gentoo-sources-2.4.20-r22.ebuild,v 1.1 2004/08/02 11:11:09 plasmaroo Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/gentoo-sources/gentoo-sources-2.4.20-r22.ebuild,v 1.2 2004/08/03 13:24:15 vapier Exp $
IUSE="aavm crypt evms2 usagi"
@@ -17,7 +17,7 @@ IUSE="aavm crypt evms2 usagi"
ETYPE="sources"
-inherit kernel eutils
+inherit kernel eutils gcc
OKV="`echo ${PV}|sed -e 's:^\([0-9]\+\.[0-9]\+\.[0-9]\+\).*:\1:'`"
EXTRAVERSION="-${PN/-*/}"
[ ! "${PR}" == "r0" ] && EXTRAVERSION="${EXTRAVERSION}-${PR}"
@@ -58,7 +58,7 @@ src_unpack() {
fi
# If the compiler isn't gcc>3.1 drop the gcc>=3.1 patches
- if [[ "${COMPILER}" == "gcc3" ]]; then
+ if [[ "`gcc-major-version`" == "3" ]]; then
einfo "Enabling gcc > 3.1 processor optimizations..."
einfo "To use them, choose the processor families labelled with (gcc>31)"
einfo "in \"Processor type and features -> Processor Family\""