diff options
author | Ryan Hill <dirtyepic@gentoo.org> | 2011-01-18 01:42:19 +0000 |
---|---|---|
committer | Ryan Hill <dirtyepic@gentoo.org> | 2011-01-18 01:42:19 +0000 |
commit | cc7ed8ad8f46cd57c3990ad93dabced734aa47b6 (patch) | |
tree | 650195c31219eb2dcbb9aa6c1e4df58db5634b27 /eclass | |
parent | Mask mail-mta/postfix-2.8.0 release candidates. (diff) | |
download | gentoo-2-cc7ed8ad8f46cd57c3990ad93dabced734aa47b6.tar.gz gentoo-2-cc7ed8ad8f46cd57c3990ad93dabced734aa47b6.tar.bz2 gentoo-2-cc7ed8ad8f46cd57c3990ad93dabced734aa47b6.zip |
Compare with version triplet rather than full version so we can match snapshots.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index b664bcabfc8e..d6ec8edd8c2f 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.447 2011/01/11 18:53:32 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.448 2011/01/18 01:42:19 dirtyepic Exp $ # # Maintainer: Toolchain Ninjas <toolchain@gentoo.org> @@ -57,7 +57,7 @@ is_crosscompile() { [[ ${CHOST} != ${CTARGET} ]] } -tc_version_is_at_least() { version_is_at_least "$1" "${2:-${GCC_PV}}" ; } +tc_version_is_at_least() { version_is_at_least "$1" "${2:-${GCC_RELEASE_VER}}" ; } GCC_PV=${TOOLCHAIN_GCC_PV:-${PV}} |