sydbox: fix seccomp enablement

This commit is contained in:
q66 2020-01-02 03:20:18 +01:00
parent ed57e49421
commit 81e941e373
1 changed files with 2 additions and 3 deletions

View File

@ -13,10 +13,9 @@ homepage="http://dev.exherbo.org/~alip/sydbox/sydbox.html"
distfiles="http://git.exherbo.org/$pkgname-1.git/snapshot/$pkgname-1-$version.tar.gz"
checksum=dad70162aae2269e7c60093999ab46ef9213dabf39f9b21851307b7f1367612a
# seccomp only implemented on x86
case "$XBPS_TARGET_MACHINE" in
# no seccomp for arm
arm*) ;;
*) configure_args+=" --enable-seccomp" ;;
x86_64*|i686*) configure_args+=" --enable-seccomp" ;;
esac
pre_configure() {