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 | 94582fc690eeaf3f8157b10ac3f5dcea86293885 (patch) | |
tree | 89dd670c8124df4b2a6400302f7c9680a29b93ec /eclass | |
parent | New ebuild with static tarball to solve =gnome-vfs-2.6* depend and gnome-vfs-... (diff) | |
download | historical-94582fc690eeaf3f8157b10ac3f5dcea86293885.tar.gz historical-94582fc690eeaf3f8157b10ac3f5dcea86293885.tar.bz2 historical-94582fc690eeaf3f8157b10ac3f5dcea86293885.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-)" } |