diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-12-10 20:03:17 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-12-10 20:03:17 +0000 |
commit | 2a2e6bb9dd6d1d46226246d2fd64fa74577bd835 (patch) | |
tree | b76ae8315babfeb3e037daf47ce872545f759086 /eclass/flag-o-matic.eclass | |
parent | Mask dev-util/febootstrap before testing ends (diff) | |
download | historical-2a2e6bb9dd6d1d46226246d2fd64fa74577bd835.tar.gz historical-2a2e6bb9dd6d1d46226246d2fd64fa74577bd835.tar.bz2 historical-2a2e6bb9dd6d1d46226246d2fd64fa74577bd835.zip |
avoid multiple inclusions when possible to speed caching up
Diffstat (limited to 'eclass/flag-o-matic.eclass')
-rw-r--r-- | eclass/flag-o-matic.eclass | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index e70770d41768..5fbb60770bdf 100644 --- a/eclass/flag-o-matic.eclass +++ b/eclass/flag-o-matic.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/flag-o-matic.eclass,v 1.159 2011/12/07 06:42:40 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.160 2011/12/10 20:03:17 vapier Exp $ # @ECLASS: flag-o-matic.eclass # @MAINTAINER: @@ -10,6 +10,9 @@ # This eclass contains a suite of functions to help developers sanely # and safely manage toolchain flags in their builds. +if [[ ${___ECLASS_ONCE_FLAG_O_MATIC} != "recur -_+^+_- spank" ]] ; then +___ECLASS_ONCE_FLAG_O_MATIC="recur -_+^+_- spank" + inherit eutils toolchain-funcs multilib ################ DEPRECATED functions ################ @@ -709,3 +712,5 @@ no-as-needed() { # echo "All tests pass" #} #TESTS + +fi |