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.77) (envelope-from <gentoo-commits+bounces-484494-garchives=archives.gentoo.org@lists.gentoo.org>) id 1SohIj-00044N-GK for garchives@archives.gentoo.org; Tue, 10 Jul 2012 20:44:53 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 865FEE0A70; Tue, 10 Jul 2012 20:44:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 5B095E0A70 for <gentoo-commits@lists.gentoo.org>; Tue, 10 Jul 2012 20:44:36 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BFCD71B4025 for <gentoo-commits@lists.gentoo.org>; Tue, 10 Jul 2012 20:44:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 78FF2E5440 for <gentoo-commits@lists.gentoo.org>; Tue, 10 Jul 2012 20:44:33 +0000 (UTC) From: "Davide Pesavento" <pesa@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Davide Pesavento" <pesa@gentoo.org> Message-ID: <1341953007.26d025ae06848264d8bc4bba5eee83d5de6bd63c.pesa@gentoo> Subject: [gentoo-commits] proj/qt:master commit in: eclass/ X-VCS-Repository: proj/qt X-VCS-Files: eclass/qt5-build.eclass X-VCS-Directories: eclass/ X-VCS-Committer: pesa X-VCS-Committer-Name: Davide Pesavento X-VCS-Revision: 26d025ae06848264d8bc4bba5eee83d5de6bd63c X-VCS-Branch: master Date: Tue, 10 Jul 2012 20:44:33 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: a06c63eb-0996-4a93-bbf9-44baa7f386a5 X-Archives-Hash: 426dbc339c539b47d167c02ae26c1e37 commit: 26d025ae06848264d8bc4bba5eee83d5de6bd63c Author: Davide Pesavento <davidepesa <AT> gmail <DOT> com> AuthorDate: Tue Jul 10 20:43:27 2012 +0000 Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org> CommitDate: Tue Jul 10 20:43:27 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/qt.git;a=3Dco= mmit;h=3D26d025ae [qt5-build.eclass] Move setup of toolchain to src_configure(). --- eclass/qt5-build.eclass | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index 23fe05c..ba2c489 100644 --- a/eclass/qt5-build.eclass +++ b/eclass/qt5-build.eclass @@ -191,9 +191,6 @@ qt5-build_src_prepare() { # Remove unused project files to speed up recursive qmake invocation rm -f demos/demos.pro examples/examples.pro tests/tests.pro tools/tools= .pro =20 - tc-export CC CXX RANLIB STRIP - export LD=3D"$(tc-getCXX)" # qmake-generated Makefiles use LD/LINK for = linking - # patching [[ -n ${PATCHES[@]} ]] && epatch "${PATCHES[@]}" epatch_user @@ -203,6 +200,11 @@ qt5-build_src_prepare() { # @DESCRIPTION: # Runs ./configure and qmake. qt5-build_src_configure() { + # toolchain setup + tc-export CC CXX RANLIB STRIP + # qmake-generated Makefiles use LD/LINK for linking + export LD=3D"$(tc-getCXX)" + # configure arguments local conf=3D( # installation paths