/[gentoo-x86]/eclass/eutils.eclass
Gentoo

Diff of /eclass/eutils.eclass

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

Revision 1.135 Revision 1.136
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 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/eutils.eclass,v 1.135 2004/12/31 11:28:18 eradicator Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.136 2005/01/07 11:13:38 eradicator Exp $
4# 4#
5# Author: Martin Schlemmer <azarah@gentoo.org> 5# Author: Martin Schlemmer <azarah@gentoo.org>
6# 6#
7# This eclass is for general purpose functions that most ebuilds 7# This eclass is for general purpose functions that most ebuilds
8# have to implement themselves. 8# have to implement themselves.
1677 elif [ -n "${DEFAULT_ABI}" ]; then 1677 elif [ -n "${DEFAULT_ABI}" ]; then
1678 abi=${DEFAULT_ABI} 1678 abi=${DEFAULT_ABI}
1679 else 1679 else
1680 return 1 1680 return 1
1681 fi 1681 fi
1682 eval echo \${${flag}_${abi}} 1682
1683 local var="${flag}_${abi}"
1684 echo ${!var}
1683} 1685}
1684 1686
1685get_abi_CFLAGS() { get_abi_var CFLAGS $1; } 1687get_abi_CFLAGS() { get_abi_var CFLAGS $1; }
1686get_abi_CXXFLAGS() { get_abi_var CXXFLAGS $1; } 1688get_abi_CXXFLAGS() { get_abi_var CXXFLAGS $1; }
1687get_abi_ASFLAGS() { get_abi_var ASFLAGS $1; } 1689get_abi_ASFLAGS() { get_abi_var ASFLAGS $1; }

Legend:
Removed from v.1.135  
changed lines
  Added in v.1.136

  ViewVC Help
Powered by ViewVC 1.1.20