diff options
author | Danny van Dyk <kugelfang@gentoo.org> | 2004-09-15 23:10:21 +0000 |
---|---|---|
committer | Danny van Dyk <kugelfang@gentoo.org> | 2004-09-15 23:10:21 +0000 |
commit | 8c10135d6ba708afdf1cd267b845ae9007dbd9c5 (patch) | |
tree | 19825e28995b8b249544648382b351eec2bc99ed /eclass/gcc.eclass | |
parent | cleanup (diff) | |
download | historical-8c10135d6ba708afdf1cd267b845ae9007dbd9c5.tar.gz historical-8c10135d6ba708afdf1cd267b845ae9007dbd9c5.tar.bz2 historical-8c10135d6ba708afdf1cd267b845ae9007dbd9c5.zip |
Using eutils:get_libdir() now instead of hardcoded [/usr][/...]/lib
Diffstat (limited to 'eclass/gcc.eclass')
-rw-r--r-- | eclass/gcc.eclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/gcc.eclass b/eclass/gcc.eclass index 5e93fe930bc3..7ddd48cb347c 100644 --- a/eclass/gcc.eclass +++ b/eclass/gcc.eclass @@ -1,11 +1,13 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/gcc.eclass,v 1.16 2004/06/25 00:39:48 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gcc.eclass,v 1.17 2004/09/15 23:10:21 kugelfang Exp $ # # Author: Martin Schlemmer <azarah@gentoo.org> # # This eclass contains (or should) functions to get common info about gcc +inherit eutils + ECLASS=gcc INHERITED="$INHERITED $ECLASS" @@ -81,7 +83,7 @@ gcc-micro-version() { # Returns gcc's internal library path gcc-libpath() { - echo "/usr/lib/gcc-lib/$($(gcc-getCC) -dumpmachine)/$(gcc-fullversion)" + echo "/usr/$(get_libdir)/gcc-lib/$($(gcc-getCC) -dumpmachine)/$(gcc-fullversion)" } # Returns the full version of libstdc++.so |