From 579a3a4838ecf96322ccaf1e2a3f0299b6f100dd Mon Sep 17 00:00:00 2001 From: q66 Date: Sun, 10 Feb 2019 17:01:23 +0100 Subject: [PATCH] bind: only use seccomp for x86 targets The old conditional was incorrect, as seccomp support is not dependent on cross, but rather bind only has the code for x86. --- srcpkgs/bind/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/bind/template b/srcpkgs/bind/template index 177954a07f1..3495a5f989f 100644 --- a/srcpkgs/bind/template +++ b/srcpkgs/bind/template @@ -32,9 +32,9 @@ make_dirs="/var/named 0770 root named" build_options="geoip seccomp" build_options_default="geoip" -if [ -z "$CROSS_BUILD" ]; then - build_options_default+=" seccomp" -fi +case "$XBPS_TARGET_MACHINE" in + x86_64*|i686*) build_options_default+=" seccomp";; +esac pre_configure() { autoreconf -fi