kcgi: disable seccomp filter for unsupported architectures

This commit is contained in:
Duncaen 2018-06-12 18:38:41 +02:00
parent b256ee790b
commit fa9bb79761

View file

@ -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
}