summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-09-17 07:56:06 +0000
committerMike Frysinger <vapier@gentoo.org>2006-09-17 07:56:06 +0000
commit1820ac61907d48e1795f48a1fffb2b78f24d5f9b (patch)
treee815ff2dd66e5af5af123355d6b7487c9fdcd8af
parentadd support for gcc-2 in setting IUSE #124578 by Harald van Dijk (diff)
downloadgentoo-2-1820ac61907d48e1795f48a1fffb2b78f24d5f9b.tar.gz
gentoo-2-1820ac61907d48e1795f48a1fffb2b78f24d5f9b.tar.bz2
gentoo-2-1820ac61907d48e1795f48a1fffb2b78f24d5f9b.zip
dont apply stubs anymore when USE=vanilla #124578 by Harald van Dijk
-rw-r--r--eclass/toolchain.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index f65e936e360f..d60a2b7044bc 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.308 2006/09/17 07:54:16 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.309 2006/09/17 07:56:06 vapier Exp $
HOMEPAGE="http://gcc.gnu.org/"
LICENSE="GPL-2 LGPL-2.1"
@@ -1903,7 +1903,7 @@ do_gcc_stub() {
local v stub_patch=""
for v in ${GCC_RELEASE_VER} ${GCC_BRANCH_VER} ; do
stub_patch=${GCC_FILESDIR}/stubs/gcc-${v}-$1-stub.patch
- if [[ -e ${stub_patch} ]] ; then
+ if [[ -e ${stub_patch} ]] && ! use vanilla ; then
EPATCH_SINGLE_MSG="Applying stub patch for $1 ..." \
epatch "${stub_patch}"
return 0