commit:     7180b540c8cdb205670bc3e3c6584fbfb35b3ca3
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 15 21:14:47 2016 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Sep 15 21:15:26 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7180b540

sys-libs/compiler-rt: Fix sandbox disabling to work-around LD_PRELOAD

 sys-libs/compiler-rt/compiler-rt-9999.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sys-libs/compiler-rt/compiler-rt-9999.ebuild 
b/sys-libs/compiler-rt/compiler-rt-9999.ebuild
index bc28ce4..829757c 100644
--- a/sys-libs/compiler-rt/compiler-rt-9999.ebuild
+++ b/sys-libs/compiler-rt/compiler-rt-9999.ebuild
@@ -92,8 +92,9 @@ src_configure() {
 }
 
 src_test() {
-       # sandbox fiddles with memory error reporting and breaks tests
-       local -x SANDBOX_ON=0
+       # sandbox breaks libasan tests... and is hard to kill
+       # so abuse the fail in its algorithms
+       local -x LD_PRELOAD=${LD_PRELOAD/libsandbox/nolibsandbox}
 
        cmake-utils_src_make check-all
 }

Reply via email to