summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-08-06 05:10:23 +0000
committerMike Frysinger <vapier@gentoo.org>2005-08-06 05:10:23 +0000
commitf40552b4fff3e588708ebb92df68c5f65dae5bc5 (patch)
treed62a3decf222e525a9a25fe5aa27f630fb9725cf /eclass
parentVersion bump; 2.0 stable on x86. 2.0 and 2.1.1 marked ~mips. (diff)
downloadhistorical-f40552b4fff3e588708ebb92df68c5f65dae5bc5.tar.gz
historical-f40552b4fff3e588708ebb92df68c5f65dae5bc5.tar.bz2
historical-f40552b4fff3e588708ebb92df68c5f65dae5bc5.zip
only warn if test fails
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass13
1 files changed, 5 insertions, 8 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 6797b69f0592..769a7a80635e 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.179 2005/08/05 07:38:17 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.180 2005/08/06 05:10:23 vapier Exp $
HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html"
LICENSE="GPL-2 LGPL-2.1"
@@ -1341,18 +1341,15 @@ gcc_src_compile() {
}
gcc_src_test() {
- # This is wrong, but gcc's tests don't report properly w/sandbox
- unset LD_PRELOAD
-
- cd ${WORKDIR}/build
- make check || die "check failed :("
+ cd "${WORKDIR}"/build
+ make check || ewarn "check failed and that sucks :("
}
gcc-library_src_install() {
einfo "Installing ${PN} ..."
# Do the 'make install' from the build directory
- cd ${WORKDIR}/build
- S="${WORKDIR}/build" \
+ cd "${WORKDIR}"/build
+ S=${WORKDIR}/build \
make DESTDIR="${D}" \
prefix=${PREFIX} \
bindir=${BINPATH} \