summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-01-28 21:00:27 +0000
committerMike Frysinger <vapier@gentoo.org>2009-01-28 21:00:27 +0000
commitfcd87d7469b3bedd85965d62b30e43874cf64260 (patch)
treea077e9d2eaee7de56dd81aa67e30e1d209d1d94a /eclass
parentversion bump (diff)
downloadgentoo-2-fcd87d7469b3bedd85965d62b30e43874cf64260.tar.gz
gentoo-2-fcd87d7469b3bedd85965d62b30e43874cf64260.tar.bz2
gentoo-2-fcd87d7469b3bedd85965d62b30e43874cf64260.zip
use emake rather than make
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass9
1 files changed, 3 insertions, 6 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index f7ab5db7bcdc..fec62bba5850 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.384 2009/01/28 05:22:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.385 2009/01/28 21:00:27 vapier Exp $
#
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
@@ -1485,7 +1485,6 @@ gcc_do_make() {
fi
pushd "${WORKDIR}"/build
- einfo "Running make LDFLAGS=\"${LDFLAGS}\" STAGE1_CFLAGS=\"${STAGE1_CFLAGS}\" LIBPATH=\"${LIBPATH}\" BOOT_CFLAGS=\"${BOOT_CFLAGS}\" ${GCC_MAKE_TARGET}"
emake \
LDFLAGS="${LDFLAGS}" \
@@ -1644,11 +1643,10 @@ gcc_src_test() {
}
gcc-library_src_install() {
- einfo "Installing ${PN} ..."
# Do the 'make install' from the build directory
cd "${WORKDIR}"/build
S=${WORKDIR}/build \
- make DESTDIR="${D}" \
+ emake DESTDIR="${D}" \
prefix=${PREFIX} \
bindir=${BINPATH} \
includedir=${LIBPATH}/include \
@@ -1696,11 +1694,10 @@ gcc-compiler_src_install() {
grep -q 'It has been auto-edited by fixincludes from' "${x}" \
&& rm -f "${x}"
done
- einfo "Installing GCC..."
# Do the 'make install' from the build directory
cd "${WORKDIR}"/build
S=${WORKDIR}/build \
- make DESTDIR="${D}" install || die
+ emake DESTDIR="${D}" install || die
# Punt some tools which are really only useful while building gcc
find "${D}" -name install-tools -prune -type d -exec rm -rf "{}" \;
# This one comes with binutils