summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-04-10 16:54:17 +0000
committerMike Frysinger <vapier@gentoo.org>2011-04-10 16:54:17 +0000
commitcc429e32e8f09d4e432c2a27374bf37ccfb96a88 (patch)
tree34aa2549c7819494edfd9f3b8c6f950b5320a17c /eclass/toolchain.eclass
parentclean up (diff)
downloadhistorical-cc429e32e8f09d4e432c2a27374bf37ccfb96a88.tar.gz
historical-cc429e32e8f09d4e432c2a27374bf37ccfb96a88.tar.bz2
historical-cc429e32e8f09d4e432c2a27374bf37ccfb96a88.zip
drop old sandbox multilib check as this isnt how sandbox sets LD_PRELOAD anymore, and it has dubious value in the first place in a cross-compiling world
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass9
1 files changed, 1 insertions, 8 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 9ef3dd5d00fe..4d6d0a57dbad 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.456 2011/03/24 08:37:28 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.457 2011/04/10 16:54:17 vapier Exp $
#
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
@@ -788,13 +788,6 @@ copy_minispecs_gcc_specs() {
gcc_pkg_setup() {
[[ -z ${ETYPE} ]] && die "Your ebuild needs to set the ETYPE variable"
- if [[ ( $(tc-arch) == "amd64" || $(tc-arch) == "ppc64" ) && ( ${LD_PRELOAD} == "/lib/libsandbox.so" || ${LD_PRELOAD} == "/usr/lib/libsandbox.so" ) ]] && is_multilib ; then
- eerror "Sandbox in your installed portage does not support compilation."
- eerror "of a multilib gcc. Please set FEATURES=-sandbox and try again."
- eerror "After you have a multilib gcc, re-emerge portage to have a working sandbox."
- die "No 32bit sandbox. Retry with FEATURES=-sandbox."
- fi
-
if [[ ${ETYPE} == "gcc-compiler" ]] ; then
case $(tc-arch) in
mips)