summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-03-27 01:46:50 +0000
committerMike Frysinger <vapier@gentoo.org>2007-03-27 01:46:50 +0000
commit4784d78b5d5fe2a7e555ea65e00ef9aad1d4ccc7 (patch)
treefaff253413c7f0b7382d8d05c08793ab14491eb7 /eclass/multilib.eclass
parentdont include toolchain-funcs for now to avoid recursive inclusion (diff)
downloadhistorical-4784d78b5d5fe2a7e555ea65e00ef9aad1d4ccc7.tar.gz
historical-4784d78b5d5fe2a7e555ea65e00ef9aad1d4ccc7.tar.bz2
historical-4784d78b5d5fe2a7e555ea65e00ef9aad1d4ccc7.zip
avoid eclass recursion
Diffstat (limited to 'eclass/multilib.eclass')
-rw-r--r--eclass/multilib.eclass7
1 files changed, 4 insertions, 3 deletions
diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass
index 96150f87b851..9c645a4991d9 100644
--- a/eclass/multilib.eclass
+++ b/eclass/multilib.eclass
@@ -1,15 +1,16 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.59 2007/03/27 01:34:31 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.60 2007/03/27 01:46:50 vapier Exp $
#
# Maintainer: amd64@gentoo.org / toolchain@gentoo.org
#
# This eclass is for all functions pertaining to handling multilib.
# configurations.
-DESCRIPTION="Based on the ${ECLASS} eclass"
+___ECLASS_RECUR_MULTILIB="yes"
+[[ -z ${___ECLASS_RECUR_TOOLCHAIN_FUNCS} ]] && inherit toolchain-funcs
-#inherit toolchain-funcs # cant do this because it includes us
+DESCRIPTION="Based on the ${ECLASS} eclass"
# has_multilib_profile:
# Return true if the current profile is a multilib profile and lists more than