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
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue