summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-01-18 04:57:32 -0500
committerMike Frysinger <vapier@gentoo.org>2016-01-18 04:57:32 -0500
commitef76ca9f6b6f055125a297942527272fd7b8e5e5 (patch)
tree4b4ade91dd8fdb6a72e9b040dd8b082a13f9e8e9 /sys-apps/sandbox
parentlayout.conf: add a header for people (diff)
downloadgentoo-ef76ca9f6b6f055125a297942527272fd7b8e5e5.tar.gz
gentoo-ef76ca9f6b6f055125a297942527272fd7b8e5e5.tar.bz2
gentoo-ef76ca9f6b6f055125a297942527272fd7b8e5e5.zip
sys-apps/sandbox: disable pch on PaX kernels #572092
Diffstat (limited to 'sys-apps/sandbox')
-rw-r--r--sys-apps/sandbox/sandbox-2.10-r1.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys-apps/sandbox/sandbox-2.10-r1.ebuild b/sys-apps/sandbox/sandbox-2.10-r1.ebuild
index 0f5b6424c43f..2270f920e3f1 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