From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 31F5513877A for ; Fri, 15 Aug 2014 01:53:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 20255E08E5; Fri, 15 Aug 2014 01:53:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 89312E08E2 for ; Fri, 15 Aug 2014 01:53:47 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 002F93404F5 for ; Fri, 15 Aug 2014 01:53:46 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 3E5C918816 for ; Fri, 15 Aug 2014 01:53:43 +0000 (UTC) From: "Davide Pesavento" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Davide Pesavento" Message-ID: <1408061475.58d910c1b685e65946742b7d6f02593c2425f1e5.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: 58d910c1b685e65946742b7d6f02593c2425f1e5 X-VCS-Branch: master Date: Fri, 15 Aug 2014 01:53:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f7f30cc0-a132-4f12-a0f9-15c5b1d9afb6 X-Archives-Hash: f2087986ef7ee7eadb043a5307f80bf5 Message-ID: <20140815015343.jC7Oyi5gKgn7Qjynl53phT8SpKqmAfmjZV7V8Uef5ec@z> commit: 58d910c1b685e65946742b7d6f02593c2425f1e5 Author: Davide Pesavento gentoo org> AuthorDate: Fri Aug 15 00:11:15 2014 +0000 Commit: Davide Pesavento gentoo org> CommitDate: Fri Aug 15 00:11:15 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=58d910c1 [qt5-build.eclass] Export toolchain variables only when needed. The variables exported by tc-export are used only by the configure script. --- eclass/qt5-build.eclass | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index 5923b0e..1e053ea 100644 --- a/eclass/qt5-build.eclass +++ b/eclass/qt5-build.eclass @@ -209,15 +209,14 @@ qt5-build_src_prepare() { # @DESCRIPTION: # Runs qmake, possibly preceded by ./configure. qt5-build_src_configure() { - # toolchain setup - tc-export CC CXX RANLIB STRIP - # qmake-generated Makefiles use LD/LINK for linking - export LD="$(tc-getCXX)" - mkdir -p "${QT5_BUILD_DIR}" || die pushd "${QT5_BUILD_DIR}" >/dev/null || die if [[ ${QT5_MODULE} == qtbase ]]; then + # toolchain setup + tc-export CC CXX RANLIB STRIP + export LD="$(tc-getCXX)" + qt5_base_configure fi