summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-09-15 23:14:47 +0200
committerMichał Górny <mgorny@gentoo.org>2016-09-15 23:15:26 +0200
commit7180b540c8cdb205670bc3e3c6584fbfb35b3ca3 (patch)
treea88db6dbb29caad6b2d4d9d8b43ab0d668f54c85 /sys-libs/compiler-rt
parentapp-forensics/honggfuzz: bump up to 0.8 (diff)
downloadgentoo-7180b540c8cdb205670bc3e3c6584fbfb35b3ca3.tar.gz
gentoo-7180b540c8cdb205670bc3e3c6584fbfb35b3ca3.tar.bz2
gentoo-7180b540c8cdb205670bc3e3c6584fbfb35b3ca3.zip
sys-libs/compiler-rt: Fix sandbox disabling to work-around LD_PRELOAD
Diffstat (limited to 'sys-libs/compiler-rt')
-rw-r--r--sys-libs/compiler-rt/compiler-rt-9999.ebuild5
1 files 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 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
}