From 7180b540c8cdb205670bc3e3c6584fbfb35b3ca3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 15 Sep 2016 23:14:47 +0200 Subject: [PATCH] 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 bc28ce4160616..829757cdd2ba1 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 }