summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-13 10:38:16 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-13 10:38:16 +0000
commit0e3a169b92b95a48bca16791b4948dcc234fa675 (patch)
treee538d7efb76415beadfdf87143abb9615ff5fddd /eclass
parentClean up mod_ssl (broken by my apache cleaning). (diff)
downloadgentoo-2-0e3a169b92b95a48bca16791b4948dcc234fa675.tar.gz
gentoo-2-0e3a169b92b95a48bca16791b4948dcc234fa675.tar.bz2
gentoo-2-0e3a169b92b95a48bca16791b4948dcc234fa675.zip
dont apply uclibc/pie patches when USE=vanilla
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index e0224480a9cd..02aaf1b6ac9c 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -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/eclass/toolchain.eclass,v 1.241 2006/01/08 12:32:44 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.242 2006/01/13 10:38:16 vapier Exp $
HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html"
LICENSE="GPL-2 LGPL-2.1"
@@ -1944,6 +1944,8 @@ do_gcc_PIE_patches() {
&& rm -f "${WORKDIR}"/piepatch/*/*-boundschecking-no.patch* \
|| rm -f "${WORKDIR}"/piepatch/*/*-boundschecking-yes.patch*
+ use vanilla && rm -f "${WORKDIR}"/piepatch/*/*uclibc*
+
guess_patch_type_in_dir "${WORKDIR}"/piepatch/upstream
# corrects startfile/endfile selection and shared/static/pie flag usage