diff options
author | Michał Górny <mgorny@gentoo.org> | 2013-02-26 14:42:24 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2013-02-26 14:42:24 +0000 |
commit | e71114ff828ef3b85911ebf14a535ce60282d694 (patch) | |
tree | b518a649527e7b715ca231cbff337c1ace74e0dd /eclass/multilib-build.eclass | |
parent | Stable for HPPA (bug #458676). (diff) | |
download | gentoo-2-e71114ff828ef3b85911ebf14a535ce60282d694.tar.gz gentoo-2-e71114ff828ef3b85911ebf14a535ce60282d694.tar.bz2 gentoo-2-e71114ff828ef3b85911ebf14a535ce60282d694.zip |
Enable writing split build logs.
Diffstat (limited to 'eclass/multilib-build.eclass')
-rw-r--r-- | eclass/multilib-build.eclass | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/eclass/multilib-build.eclass b/eclass/multilib-build.eclass index feac748f8210..bd773d032a01 100644 --- a/eclass/multilib-build.eclass +++ b/eclass/multilib-build.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/multilib-build.eclass,v 1.2 2013/02/10 11:44:00 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/multilib-build.eclass,v 1.3 2013/02/26 14:42:24 mgorny Exp $ # @ECLASS: multilib-build.eclass # @MAINTAINER: @@ -100,7 +100,8 @@ multilib_foreach_abi() { local ABI for ABI in $(multilib_get_enabled_abis); do multilib_toolchain_setup "${ABI}" - BUILD_DIR=${initial_dir%%/}-${ABI} "${@}" + local BUILD_DIR=${initial_dir%%/}-${ABI} + "${@}" | tee -a "${T}/build-${ABI}.log" done } @@ -127,8 +128,8 @@ multilib_parallel_foreach_abi() { multijob_child_init multilib_toolchain_setup "${ABI}" - BUILD_DIR=${initial_dir%%/}-${ABI} - "${@}" + local BUILD_DIR=${initial_dir%%/}-${ABI} + "${@}" 2>&1 | tee -a "${T}/build-${ABI}.log" ) & multijob_post_fork |