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:
parent
d641de1b98
commit
579a3a4838
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user