diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-09-30 06:27:59 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-09-30 06:27:59 +0000 |
commit | 66bcccc8210a121dbd2b2f0d7013f8cd3211b5f5 (patch) | |
tree | e9257c02cda639b350756dac7b23a5eeb810c591 /sys-libs | |
parent | Version bump. (diff) | |
download | gentoo-2-66bcccc8210a121dbd2b2f0d7013f8cd3211b5f5.tar.gz gentoo-2-66bcccc8210a121dbd2b2f0d7013f8cd3211b5f5.tar.bz2 gentoo-2-66bcccc8210a121dbd2b2f0d7013f8cd3211b5f5.zip |
standardize output a bit
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/glibc/files/eblits/src_compile.eblit | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/sys-libs/glibc/files/eblits/src_compile.eblit b/sys-libs/glibc/files/eblits/src_compile.eblit index 84d57d688d99..0abce11d9896 100644 --- a/sys-libs/glibc/files/eblits/src_compile.eblit +++ b/sys-libs/glibc/files/eblits/src_compile.eblit @@ -1,10 +1,12 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.13 2010/09/18 09:55:18 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.14 2010/09/30 06:27:59 vapier Exp $ glibc_do_configure() { local myconf + einfo "Configuring GLIBC for $1" + # set addons pushd "${S}" > /dev/null local ADDONS=$(echo */configure | sed \ @@ -89,13 +91,10 @@ glibc_do_configure() { # since the glibc build will re-run configure on itself export libc_cv_slibdir=/$(get_libdir) - export CC=$(tc-getCC ${CTARGET}) - einfo "Set CC to ${CC}" - local GBUILDDIR=${WORKDIR}/build-${ABI}-${CTARGET}-$1 mkdir -p "${GBUILDDIR}" cd "${GBUILDDIR}" - einfo "Configuring GLIBC for $1 with: ${myconf// /\n\t\t}" + echo "${S}"/configure ${myconf} "${S}"/configure ${myconf} || die "failed to configure glibc" # since we'll be punting them for cross-compilers, and they can cause @@ -109,18 +108,18 @@ toolchain-glibc_src_compile() { for v in ABI CBUILD CHOST CTARGET CBUILD_OPT CTARGET_OPT CC CFLAGS ; do einfo " $(printf '%15s' ${v}:) ${!v}" done + export CC=$(tc-getCC ${CTARGET}) + einfo " $(printf '%15s' 'Manual CC:') ${CC}" echo if want_linuxthreads ; then glibc_do_configure linuxthreads - einfo "Building GLIBC with linuxthreads..." emake || die "make for ${ABI} failed" fi if want_nptl ; then # ... and then do the optional nptl build unset LD_ASSUME_KERNEL glibc_do_configure nptl - einfo "Building GLIBC with NPTL..." emake || die "make for ${ABI} failed" fi } |