summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-12-03 20:45:45 +0000
committerMike Frysinger <vapier@gentoo.org>2011-12-03 20:45:45 +0000
commitd0857d763ab8a1c27f9663c21bba87eb41ca41ad (patch)
tree165e7b495d833c925a54a8a0a2d19706ed19259b /eclass
parentdelete unused HTB_EXCLUSIVE variable, and drop old do_gcc_stub logic which is... (diff)
downloadgentoo-2-d0857d763ab8a1c27f9663c21bba87eb41ca41ad.tar.gz
gentoo-2-d0857d763ab8a1c27f9663c21bba87eb41ca41ad.tar.bz2
gentoo-2-d0857d763ab8a1c27f9663c21bba87eb41ca41ad.zip
drop now unused exclude_gcc_patches/GENTOO_PATCH_EXCLUDE logic
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass17
1 files changed, 1 insertions, 16 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 865dec9d7dd9..197511bc3e29 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.488 2011/12/03 20:43:51 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.489 2011/12/03 20:45:45 vapier Exp $
#
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
@@ -883,7 +883,6 @@ toolchain_src_unpack() {
[[ -z ${UCLIBC_VER} ]] && [[ ${CTARGET} == *-uclibc* ]] && die "Sorry, this version does not support uClibc"
[[ -z ${GCC_SVN} ]] && gcc_quick_unpack
- exclude_gcc_patches
cd "${S}"
@@ -1931,20 +1930,6 @@ gcc_quick_unpack() {
popd > /dev/null
}
-# Exclude any unwanted patches, as specified by the following variables:
-#
-# GENTOO_PATCH_EXCLUDE
-# List of filenames, relative to ${WORKDIR}/patch/
-exclude_gcc_patches() {
- local i
- for i in ${GENTOO_PATCH_EXCLUDE} ; do
- if [[ -f ${WORKDIR}/patch/${i} ]] ; then
- einfo "Excluding patch ${i}"
- rm -f "${WORKDIR}"/patch/${i} || die "failed to delete ${i}"
- fi
- done
-}
-
do_gcc_HTB_patches() {
want_boundschecking || return 0