diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-08-31 04:40:41 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-08-31 04:40:41 +0000 |
commit | 9eda8c07b2d6c2b860a1f1304b7653f0868d3182 (patch) | |
tree | 9f16f07045ced310b02d52300af94076fe903aaf /eclass | |
parent | Dropped alpha and hppa keywords. Improved post install message. java-config-1... (diff) | |
download | gentoo-2-9eda8c07b2d6c2b860a1f1304b7653f0868d3182.tar.gz gentoo-2-9eda8c07b2d6c2b860a1f1304b7653f0868d3182.tar.bz2 gentoo-2-9eda8c07b2d6c2b860a1f1304b7653f0868d3182.zip |
add sanity check for stable users
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain-binutils.eclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass index 4f737ec78569..dfcccd78c667 100644 --- a/eclass/toolchain-binutils.eclass +++ b/eclass/toolchain-binutils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.63 2006/08/27 09:15:37 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.64 2006/08/31 04:40:41 vapier Exp $ # We install binutils into CTARGET-VERSION specific directories. This lets # us easily merge multiple versions for multiple targets (if we wish) and @@ -147,6 +147,9 @@ tc-binutils_apply_patches() { } toolchain-binutils_src_unpack() { + is_cross && [[ $(binutils-config -V) != binutils-config-1.9* ]] \ + && die "You need to upgrade your >=binutils-config-1.9" + tc-binutils_unpack tc-binutils_apply_patches } |