summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-06-19 06:47:31 +0000
committerMike Frysinger <vapier@gentoo.org>2007-06-19 06:47:31 +0000
commit5187291ea976687ad339d221ca5d02726e7b483a (patch)
treeddcfb01897dc752a0ab0e8be2fa9dc9083f43fa9 /eclass/toolchain-binutils.eclass
parentRemove gen-1 revision. (diff)
downloadgentoo-2-5187291ea976687ad339d221ca5d02726e7b483a.tar.gz
gentoo-2-5187291ea976687ad339d221ca5d02726e7b483a.tar.bz2
gentoo-2-5187291ea976687ad339d221ca5d02726e7b483a.zip
handle newer versions of binutils where uclibc patchset is no longer needed
Diffstat (limited to 'eclass/toolchain-binutils.eclass')
-rw-r--r--eclass/toolchain-binutils.eclass10
1 files changed, 7 insertions, 3 deletions
diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass
index c981a2d3a516..da3df8eab33f 100644
--- a/eclass/toolchain-binutils.eclass
+++ b/eclass/toolchain-binutils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.72 2007/03/24 07:11:40 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.73 2007/06/19 06:47:31 vapier Exp $
#
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
#
@@ -122,8 +122,12 @@ tc-binutils_apply_patches() {
|| EPATCH_SUFFIX="patch"
EPATCH_MULTI_MSG="Applying uClibc fixes ..." \
epatch
- elif [[ ${CTARGET} == *-uclibc ]] ; then
- die "sorry, but this binutils doesn't yet support uClibc :("
+ elif [[ ${CTARGET} == *-uclibc* ]] ; then
+ # starting with binutils-2.17.50.0.17, we no longer need
+ # uClibc patchsets :D
+ if grep -qs 'linux-gnu' "${S}"/ltconfig ; then
+ die "sorry, but this binutils doesn't yet support uClibc :("
+ fi
fi
# fix locale issues if possible #122216