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.
This commit is contained in:
q66 2019-02-10 17:01:23 +01:00 committed by maxice8
parent d641de1b98
commit 579a3a4838

View file

@ -32,9 +32,9 @@ make_dirs="/var/named 0770 root named"
build_options="geoip seccomp" build_options="geoip seccomp"
build_options_default="geoip" build_options_default="geoip"
if [ -z "$CROSS_BUILD" ]; then case "$XBPS_TARGET_MACHINE" in
build_options_default+=" seccomp" x86_64*|i686*) build_options_default+=" seccomp";;
fi esac
pre_configure() { pre_configure() {
autoreconf -fi autoreconf -fi