diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2005-02-13 21:17:24 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2005-02-13 21:17:24 +0000 |
commit | 7bff95e05ada2892e49da0eea375977a0a580bf5 (patch) | |
tree | f15c17380e793506a536efecaea9f7e41857f54f /eclass | |
parent | New ebuild with static tarball to solve =gnome-vfs-2.6* depend and gnome-vfs-... (diff) | |
download | gentoo-2-7bff95e05ada2892e49da0eea375977a0a580bf5.tar.gz gentoo-2-7bff95e05ada2892e49da0eea375977a0a580bf5.tar.bz2 gentoo-2-7bff95e05ada2892e49da0eea375977a0a580bf5.zip |
Support - in the gcc version string
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain-funcs.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass index 4b8bdae5bf0b..efdbf8d75c2b 100644 --- a/eclass/toolchain-funcs.eclass +++ b/eclass/toolchain-funcs.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.29 2005/02/01 23:50:15 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.30 2005/02/13 21:17:24 eradicator Exp $ # # Author: Toolchain Ninjas <ninjas@gentoo.org> # @@ -165,5 +165,5 @@ gcc-minor-version() { } # Returns the Micro version gcc-micro-version() { - echo "$(gcc-fullversion | cut -f3 -d.)" + echo "$(gcc-fullversion | cut -f3 -d. | cut -f1 -d-)" } |