commit:     ef76ca9f6b6f055125a297942527272fd7b8e5e5
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 18 09:57:32 2016 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Mon Jan 18 09:57:32 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef76ca9f

sys-apps/sandbox: disable pch on PaX kernels #572092

 sys-apps/sandbox/sandbox-2.10-r1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sys-apps/sandbox/sandbox-2.10-r1.ebuild 
b/sys-apps/sandbox/sandbox-2.10-r1.ebuild
index 0f5b642..2270f92 100644
--- a/sys-apps/sandbox/sandbox-2.10-r1.ebuild
+++ b/sys-apps/sandbox/sandbox-2.10-r1.ebuild
@@ -7,7 +7,7 @@
 # period.
 #
 
-inherit eutils flag-o-matic toolchain-funcs multilib unpacker multiprocessing
+inherit eutils flag-o-matic toolchain-funcs multilib unpacker multiprocessing 
pax-utils
 
 DESCRIPTION="sandbox'd LD_PRELOAD hack"
 HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/";
@@ -56,6 +56,9 @@ sb_configure() {
 
        use multilib && multilib_toolchain_setup ${ABI}
 
+       local myconf=()
+       host-is-pax && myconf+=( --disable-pch ) #301299 #425524 #572092
+
        einfo "Configuring sandbox for ABI=${ABI}..."
        ECONF_SOURCE="${S}" \
        econf ${myconf} || die

Reply via email to