aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libucontext/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/libucontext/APKBUILD')
-rw-r--r--testing/libucontext/APKBUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/libucontext/APKBUILD b/testing/libucontext/APKBUILD
index 0be415dc98..ce2e555929 100644
--- a/testing/libucontext/APKBUILD
+++ b/testing/libucontext/APKBUILD
@@ -13,6 +13,9 @@ source="https://distfiles.dereferenced.org/libucontext/libucontext-$pkgver.tar.x
0001-build-use-absolute-path-for-LD_LIBRARY_PATH-when-tes.patch"
builddir="$srcdir/libucontext-$pkgver"
+# grsecurity doesn't like the LD_LIBRARY_PATH thing for some reason it seems
+[ "$CTARGET_ARCH" = "x86" ] && options="!check"
+
case "$CTARGET_ARCH" in
ppc64le) LIBUCONTEXT_ARCH="ppc64" ;;
*) LIBUCONTEXT_ARCH="$CTARGET_ARCH" ;;