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