diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2002-09-11 00:42:55 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2002-09-11 00:42:55 +0000 |
commit | 90327aea276b2ad3ccbab343bf22c49721166846 (patch) | |
tree | 292cdf90dcd02beed906e43cab4851c6792838b6 /eclass | |
parent | more functions (diff) | |
download | historical-90327aea276b2ad3ccbab343bf22c49721166846.tar.gz historical-90327aea276b2ad3ccbab343bf22c49721166846.tar.bz2 historical-90327aea276b2ad3ccbab343bf22c49721166846.zip |
ren func
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/gcc.eclass | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/eclass/gcc.eclass b/eclass/gcc.eclass index e162cb7f5397..6d4f5fda9f61 100644 --- a/eclass/gcc.eclass +++ b/eclass/gcc.eclass @@ -1,7 +1,7 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author: Martin Schlemmer <azarah@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/eclass/gcc.eclass,v 1.3 2002/09/11 00:40:39 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gcc.eclass,v 1.4 2002/09/11 00:42:55 azarah Exp $ # This eclass contains (or should) functions to get common info about gcc ECLASS=gcc INHERITED="$INHERITED $ECLASS" @@ -80,21 +80,21 @@ gcc-libpath() { echo "/usr/lib/gcc-lib/$($(gcc-getCC) -dumpmachine)/$(gcc-fullversion)" } -gcc-libstdc-version() { +gcc-libstdcxx-version() { if [ "$(gcc-major-version)" -ge 3 ] then - local libstdc="$(ls $(gcc-libpath)/libstdc++.so.?.?.?)" + local libstdcxx="$(ls $(gcc-libpath)/libstdc++.so.?.?.?)" - libstdc="${libstdc##*/}" - echo "${libstdc/libstdc++.so.}" + libstdcxx="${libstdcxx##*/}" + echo "${libstdcxx/libstdc++.so.}" else echo fi } -gcc-libstdc-major-version() { +gcc-libstdcxx-major-version() { - echo "$(echo $(gcc-libstdc-version) | cut -f1 -d.)" + echo "$(echo $(gcc-libstdcxx-version) | cut -f1 -d.)" } |