/[gentoo-x86]/eclass/toolchain-funcs.eclass
Gentoo

Diff of /eclass/toolchain-funcs.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.75 Revision 1.76
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.75 2008/01/02 01:01:03 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.76 2008/04/16 14:16:45 vapier Exp $
4 4
5# @ECLASS: toolchain-funcs.eclass 5# @ECLASS: toolchain-funcs.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Toolchain Ninjas <toolchain@gentoo.org> 7# Toolchain Ninjas <toolchain@gentoo.org>
8# @BLURB: functions to query common info about the toolchain 8# @BLURB: functions to query common info about the toolchain
295} 295}
296 296
297# Returns the installation directory - internal toolchain 297# Returns the installation directory - internal toolchain
298# function for use by _gcc-specs-exists (for flag-o-matic). 298# function for use by _gcc-specs-exists (for flag-o-matic).
299_gcc-install-dir() { 299_gcc-install-dir() {
300 echo "$($(tc-getCC) -print-search-dirs 2> /dev/null |\ 300 echo "$(LC_ALL=C $(tc-getCC) -print-search-dirs 2> /dev/null |\
301 awk '$1=="install:" {print $2}')" 301 awk '$1=="install:" {print $2}')"
302} 302}
303# Returns true if the indicated specs file exists - internal toolchain 303# Returns true if the indicated specs file exists - internal toolchain
304# function for use by flag-o-matic. 304# function for use by flag-o-matic.
305_gcc-specs-exists() { 305_gcc-specs-exists() {

Legend:
Removed from v.1.75  
changed lines
  Added in v.1.76

  ViewVC Help
Powered by ViewVC 1.1.20