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

Diff of /eclass/multilib.eclass

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

Revision 1.19 Revision 1.20
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/multilib.eclass,v 1.19 2005/02/09 03:22:25 eradicator Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.20 2005/02/10 23:13:11 eradicator Exp $
4# 4#
5# Author: Jeremy Huddleston <eradicator@gentoo.org> 5# Author: Jeremy Huddleston <eradicator@gentoo.org>
6# 6#
7# This eclass is for all functions pertaining to handling multilib. 7# This eclass is for all functions pertaining to handling multilib.
8# configurations. 8# configurations.
88 88
89### END DOCUMENTATION ### 89### END DOCUMENTATION ###
90 90
91# Defaults: 91# Defaults:
92CFLAGS_default="" 92CFLAGS_default=""
93LDFLAGS_default=""
94CHOST_default="${CHOST}"
93LIBDIR_default="${CONF_LIBDIR:-lib}" 95LIBDIR_default="${CONF_LIBDIR:-lib}"
94CDEFINE_default="__unix__" 96CDEFINE_default="__unix__"
95 97
96# has_multilib_profile() 98# has_multilib_profile()
97has_multilib_profile() { 99has_multilib_profile() {
179 181
180 local var="${flag}_${abi}" 182 local var="${flag}_${abi}"
181 echo ${!var} 183 echo ${!var}
182} 184}
183 185
184get_abi_CFLAGS() { get_abi_var CFLAGS ${@}; } 186get_abi_CFLAGS() { get_abi_var CFLAGS "${@}"; }
187get_abi_LDFLAGS() { get_abi_var LDFLAGS "${@}"; }
188get_abi_CHOST() { get_abi_var CHOST "${@}"; }
185get_abi_CDEFINE() { get_abi_var CDEFINE ${@}; } 189get_abi_CDEFINE() { get_abi_var CDEFINE "${@}"; }
186get_abi_LIBDIR() { get_abi_var LIBDIR ${@}; } 190get_abi_LIBDIR() { get_abi_var LIBDIR "${@}"; }
187 191
188# Return a list of the ABIs we want to install for with 192# Return a list of the ABIs we want to install for with
189# the last one in the list being the default. 193# the last one in the list being the default.
190get_install_abis() { 194get_install_abis() {
191 local order="" 195 local order=""

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

  ViewVC Help
Powered by ViewVC 1.1.20