kcgi: disable seccomp filter for unsupported architectures
This commit is contained in:
parent
b256ee790b
commit
fa9bb79761
1 changed files with 4 additions and 0 deletions
|
@ -19,6 +19,10 @@ do_configure() {
|
|||
if [ -n "$CROSS_BUILD" ]; then
|
||||
cp "${FILESDIR}/configure.$_libc" configure.local
|
||||
fi
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
x86_64*|i686*|armv*) ;;
|
||||
*) sed -i 's/HAVE_SECCOMP_FILTER=1/HAVE_SECCOMP_FILTER=0/' configure.local ;;
|
||||
esac
|
||||
./configure PREFIX=/usr MANDIR=/usr/share/man SBINDIR=/usr/bin
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue