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
commitf93776b7fb2a4baaaeb3652b2d8f95efe17da60d (patch)
tree2ebdea200d617851ce52ce20c0666d872328df34 /eclass
parentClean up mod_ssl (broken by my apache cleaning). (diff)
downloadhistorical-f93776b7fb2a4baaaeb3652b2d8f95efe17da60d.tar.gz
historical-f93776b7fb2a4baaaeb3652b2d8f95efe17da60d.tar.bz2
historical-f93776b7fb2a4baaaeb3652b2d8f95efe17da60d.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