diff options
author | Travis Tilley <lv@gentoo.org> | 2004-11-07 21:20:34 +0000 |
---|---|---|
committer | Travis Tilley <lv@gentoo.org> | 2004-11-07 21:20:34 +0000 |
commit | 32f878e0bf6ea9e7560ca23c16944aa404e5b2f5 (patch) | |
tree | e979283d4c8f4b7a8376771dcb1bb91b07ca7a6e /eclass | |
parent | Removing insecure version. (Manifest recommit) (diff) | |
download | gentoo-2-32f878e0bf6ea9e7560ca23c16944aa404e5b2f5.tar.gz gentoo-2-32f878e0bf6ea9e7560ca23c16944aa404e5b2f5.tar.bz2 gentoo-2-32f878e0bf6ea9e7560ca23c16944aa404e5b2f5.zip |
only put boundschecking in IUSE if we're actually using the bounds checking patch in the ebuild
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain.eclass | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 81eeceab65ea..0997c8cc727f 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.42 2004/11/03 19:22:50 lv Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.43 2004/11/07 21:20:34 lv Exp $ # # This eclass should contain general toolchain-related functions that are # expected to not change, or change much. @@ -17,7 +17,10 @@ if [ "${ETYPE}" == "gcc-library" ] ; then IUSE="nls build uclibc" SLOT="${CTARGET}-${SO_VERSION_SLOT:-5}" else - IUSE="static nls bootstrap build multilib gcj gtk f77 nocxx objc hardened uclibc n32 n64 boundschecking" + IUSE="static nls bootstrap build multilib gcj gtk f77 nocxx objc hardened uclibc n32 n64" + if [ -n "${HTB_VER}" ] ; then + IUSE="${IUSE} boundschecking" + fi if [ "${CHOST}" == "${CTARGET}" ] ; then SLOT="${PV%.*}" else |