diff options
author | Jeroen Roovers <jer@gentoo.org> | 2011-08-09 18:53:06 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2011-08-09 18:53:06 +0000 |
commit | 47ae99eaab5a65781ef91f9ffd1d48746615f0bd (patch) | |
tree | 9e879f9fcb80a2f5cb5824d91ece14bba48ed502 /eclass | |
parent | Add more/better dependencies. (diff) | |
download | historical-47ae99eaab5a65781ef91f9ffd1d48746615f0bd.tar.gz historical-47ae99eaab5a65781ef91f9ffd1d48746615f0bd.tar.bz2 historical-47ae99eaab5a65781ef91f9ffd1d48746615f0bd.zip |
Respect toolchain (bug #378529).
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/waf-utils.eclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/waf-utils.eclass b/eclass/waf-utils.eclass index 5dd9be478776..9e99ebae7121 100644 --- a/eclass/waf-utils.eclass +++ b/eclass/waf-utils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/waf-utils.eclass,v 1.5 2011/03/01 23:02:08 abcd Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/waf-utils.eclass,v 1.6 2011/08/09 18:53:06 jer Exp $ # @ECLASS: waf-utils.eclass # @MAINTAINER: @@ -17,7 +17,7 @@ # waf-based packages much easier. # Its main features are support of common portage default settings. -inherit base eutils multilib +inherit base eutils multilib toolchain-funcs case ${EAPI:-0} in 4|3) EXPORT_FUNCTIONS src_configure src_compile src_install ;; @@ -35,6 +35,7 @@ waf-utils_src_configure() { # Eclass can use different waf executable. Usually it is located in "${S}/waf". : ${WAF_BINARY:="${S}/waf"} + tc-export AR CC CPP CXX RANLIB echo "CCFLAGS=\"${CFLAGS}\" LINKFLAGS=\"${LDFLAGS}\" \"${WAF_BINARY}\" --prefix=${EPREFIX}/usr --libdir=${EPREFIX}/usr/$(get_libdir) $@ configure" CCFLAGS="${CFLAGS}" LINKFLAGS="${LDFLAGS}" "${WAF_BINARY}" \ |