From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QqrQS-0001Jt-QC for garchives@archives.gentoo.org; Tue, 09 Aug 2011 18:53:22 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 37A3321C0CA; Tue, 9 Aug 2011 18:53:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 08AD921C0CA for ; Tue, 9 Aug 2011 18:53:07 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 643311B400E for ; Tue, 9 Aug 2011 18:53:07 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2078) id 2D0602004C; Tue, 9 Aug 2011 18:53:06 +0000 (UTC) From: "Jeroen Roovers (jer)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, jer@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: waf-utils.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: waf-utils.eclass X-VCS-Directories: eclass X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers Content-Type: text/plain; charset=utf8 Message-Id: <20110809185306.2D0602004C@flycatcher.gentoo.org> Date: Tue, 9 Aug 2011 18:53:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: a3496c12a53c83aa69cbe669352101db jer 11/08/09 18:53:06 Modified: waf-utils.eclass Log: Respect toolchain (bug #378529). Revision Changes Path 1.6 eclass/waf-utils.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/waf-utils.e= class?rev=3D1.6&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/waf-utils.e= class?rev=3D1.6&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/waf-utils.e= class?r1=3D1.5&r2=3D1.6 Index: waf-utils.eclass =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/eclass/waf-utils.eclass,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- waf-utils.eclass 1 Mar 2011 23:02:08 -0000 1.5 +++ waf-utils.eclass 9 Aug 2011 18:53:06 -0000 1.6 @@ -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 $ =20 # @ECLASS: waf-utils.eclass # @MAINTAINER: @@ -17,7 +17,7 @@ # waf-based packages much easier. # Its main features are support of common portage default settings. =20 -inherit base eutils multilib +inherit base eutils multilib toolchain-funcs =20 case ${EAPI:-0} in 4|3) EXPORT_FUNCTIONS src_configure src_compile src_install ;; @@ -35,6 +35,7 @@ # Eclass can use different waf executable. Usually it is located in "${= S}/waf". : ${WAF_BINARY:=3D"${S}/waf"} =20 + tc-export AR CC CPP CXX RANLIB echo "CCFLAGS=3D\"${CFLAGS}\" LINKFLAGS=3D\"${LDFLAGS}\" \"${WAF_BINARY= }\" --prefix=3D${EPREFIX}/usr --libdir=3D${EPREFIX}/usr/$(get_libdir) $@ = configure" =20 CCFLAGS=3D"${CFLAGS}" LINKFLAGS=3D"${LDFLAGS}" "${WAF_BINARY}" \