projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0571365
)
sys-libs/compiler-rt: Fix sandbox disabling to work-around LD_PRELOAD
author
Michał Górny
<mgorny@gentoo.org>
Thu, 15 Sep 2016 21:14:47 +0000
(23:14 +0200)
committer
Michał Górny
<mgorny@gentoo.org>
Thu, 15 Sep 2016 21:15:26 +0000
(23:15 +0200)
sys-libs/compiler-rt/compiler-rt-9999.ebuild
patch
|
blob
|
history
diff --git
a/sys-libs/compiler-rt/compiler-rt-9999.ebuild
b/sys-libs/compiler-rt/compiler-rt-9999.ebuild
index bc28ce41606164b92eec4f9f665f477139b97f2b..829757cdd2ba12fba97ba6b75150e5b4564fa76a 100644
(file)
--- 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
}