summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-05-13 20:24:28 +0000
committerMike Frysinger <vapier@gentoo.org>2012-05-13 20:24:28 +0000
commitef9b21a3d8f39b52ebf142631af05f367bd2017c (patch)
tree7f61e110eecf493780b2ae6dcbdcda52cee42874 /eclass
parentdrop warnings for old versions of code (diff)
downloadgentoo-2-ef9b21a3d8f39b52ebf142631af05f367bd2017c.tar.gz
gentoo-2-ef9b21a3d8f39b52ebf142631af05f367bd2017c.tar.bz2
gentoo-2-ef9b21a3d8f39b52ebf142631af05f367bd2017c.zip
use `use_if_iuse` with bootstrap since not all versions have this
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 16de4bf13d5d..918925418dfb 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.535 2012/05/13 20:20:23 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.536 2012/05/13 20:24:28 vapier Exp $
#
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
@@ -1802,7 +1802,7 @@ do_gcc_PIE_patches() {
should_we_gcc_config() {
# we always want to run gcc-config if we're bootstrapping, otherwise
# we might get stuck with the c-only stage1 compiler
- use bootstrap && return 0
+ use_if_iuse bootstrap && return 0
use build && return 0
# if the current config is invalid, we definitely want a new one