summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJoshua Kinard <kumba@gentoo.org>2008-12-09 06:06:50 +0000
committerJoshua Kinard <kumba@gentoo.org>2008-12-09 06:06:50 +0000
commitb54b2093cf399412a9175a9b2a0bed6f553674db (patch)
tree2c1eee41ba6ee7f4db391ed27a2d12787447a591 /eclass
parentFixed Manifest. Wrong file size (diff)
downloadgentoo-2-b54b2093cf399412a9175a9b2a0bed6f553674db.tar.gz
gentoo-2-b54b2093cf399412a9175a9b2a0bed6f553674db.tar.bz2
gentoo-2-b54b2093cf399412a9175a9b2a0bed6f553674db.zip
Add patch to drop including .gnu.hash support on mips targets.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain-binutils.eclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass
index 317438266cf6..f498b5b05194 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.77 2007/11/11 19:55:42 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.78 2008/12/09 06:06:50 kumba Exp $
#
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
#
@@ -114,6 +114,10 @@ tc-binutils_apply_patches() {
if ! use vanilla ; then
if [[ -n ${PATCHVER} ]] ; then
EPATCH_SOURCE=${WORKDIR}/patch
+ if [[ ${CTARGET} == mips* ]] ; then
+ # remove gnu-hash for mips (bug #233233)
+ EPATCH_EXCLUDE="77_all_generate-gnu-hash.patch"
+ fi
[[ -n $(ls "${EPATCH_SOURCE}"/*.bz2 2>/dev/null) ]] \
&& EPATCH_SUFFIX="patch.bz2" \
|| EPATCH_SUFFIX="patch"