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

Diff of /eclass/multilib.eclass

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

Revision 1.69 Revision 1.70
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2008 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.69 2008/11/28 09:20:26 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.70 2009/01/09 06:59:45 vapier Exp $
4 4
5# @ECLASS: multilib.eclass 5# @ECLASS: multilib.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# amd64@gentoo.org 7# amd64@gentoo.org
8# toolchain@gentoo.org 8# toolchain@gentoo.org
649# Hide multilib details here for packages which are forced to be compiled for a 649# Hide multilib details here for packages which are forced to be compiled for a
650# specific ABI when run on another ABI (like x86-specific packages on amd64) 650# specific ABI when run on another ABI (like x86-specific packages on amd64)
651multilib_toolchain_setup() { 651multilib_toolchain_setup() {
652 export ABI=$1 652 export ABI=$1
653 653
654 # disable ccache for non-native builds #196243. this is because how
655 # we cram ABI related CFLAGS behind the back of the gcc frontend with
656 # the gcc-config wrapper.
657 if [[ ${ABI} != ${DEFAULT_ABI} ]] ; then
658 : ${CCACHE_DISABLE:=multilib-disable}
659 else
660 if [[ ${CCACHE_DISABLE} == "multilib-disable" ]] ; then
661 unset CCACHE_DISABLE
662 fi
663 fi
664 export CCACHE_DISABLE
665
654 if has_version app-admin/eselect-compiler ; then 666 if has_version app-admin/eselect-compiler ; then
655 # Binutils doesn't have wrappers for ld and as (yet). Eventually it 667 # Binutils doesn't have wrappers for ld and as (yet). Eventually it
656 # will, and all this can just be handled with CHOST. 668 # will, and all this can just be handled with CHOST.
657 export LD="ld $(get_abi_LDFLAGS $1)" 669 export LD="ld $(get_abi_LDFLAGS $1)"
658 export AS="as $(get_abi_ASFLAGS $1)" 670 export AS="as $(get_abi_ASFLAGS $1)"

Legend:
Removed from v.1.69  
changed lines
  Added in v.1.70

  ViewVC Help
Powered by ViewVC 1.1.20