diff options
author | 2006-08-31 04:40:41 +0000 | |
---|---|---|
committer | 2006-08-31 04:40:41 +0000 | |
commit | 3800ff5b539550ec33157c2772d99f7d49414eb6 (patch) | |
tree | d58a52386efe82086ea8cb7a343527465b26e7a1 /eclass | |
parent | Dropped alpha and hppa keywords. Improved post install message. java-config-1... (diff) | |
download | historical-3800ff5b539550ec33157c2772d99f7d49414eb6.tar.gz historical-3800ff5b539550ec33157c2772d99f7d49414eb6.tar.bz2 historical-3800ff5b539550ec33157c2772d99f7d49414eb6.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 } |