summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-02-04 22:57:28 +0000
committerMike Frysinger <vapier@gentoo.org>2005-02-04 22:57:28 +0000
commit201c67b644a8f544c56548e979e5d19ff485ee67 (patch)
tree5dc1e52193124c490d2284edb5c99a4d5a4931d3 /eclass/toolchain-binutils.eclass
parentVersion bump, bug 79778. (diff)
downloadhistorical-201c67b644a8f544c56548e979e5d19ff485ee67.tar.gz
historical-201c67b644a8f544c56548e979e5d19ff485ee67.tar.bz2
historical-201c67b644a8f544c56548e979e5d19ff485ee67.zip
punt sandbox while running tests, dont bother with filter-flags since strip-flags handles it (#80774), and add a few comments
Diffstat (limited to 'eclass/toolchain-binutils.eclass')
-rw-r--r--eclass/toolchain-binutils.eclass8
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass
index 3badcba4b595..6457cfcc9d14 100644
--- a/eclass/toolchain-binutils.eclass
+++ b/eclass/toolchain-binutils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.23 2005/01/20 02:35:16 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.24 2005/02/04 22:57:28 vapier Exp $
# We install binutils into CTARGET-VERSION specific directories. This lets
# us easily merge multiple versions for multiple targets (if we wish) and
@@ -76,11 +76,12 @@ apply_binutils_updates() {
gnuconfig_update
elibtoolize --portage --no-uclibc
+ # make sure we filter $LINGUAS so that only ones that
+ # actually work with all the subdirs make it through
strip-linguas -i */po
}
toolchain-binutils_src_compile() {
- filter-flags -fomit-frame-pointer -fssa #6730
strip-flags && replace-flags -O3 -O2 #47581
cd "${MY_BUILDDIR}"
@@ -123,6 +124,9 @@ toolchain-binutils_src_compile() {
}
toolchain-binutils_src_test() {
+ # sandbox + toolchain tests == angry tests
+ unset LD_PRELOAD
+
cd "${MY_BUILDDIR}"
make check || die "check failed :("
}