From: Michał Górny Date: Thu, 15 Sep 2016 21:14:47 +0000 (+0200) Subject: sys-libs/compiler-rt: Fix sandbox disabling to work-around LD_PRELOAD X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=7180b540c8cdb205670bc3e3c6584fbfb35b3ca3;p=gentoo.git sys-libs/compiler-rt: Fix sandbox disabling to work-around LD_PRELOAD --- diff --git a/sys-libs/compiler-rt/compiler-rt-9999.ebuild b/sys-libs/compiler-rt/compiler-rt-9999.ebuild index bc28ce416061..829757cdd2ba 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 }