sydbox: explicitly disable seccomp where unsupported
This commit is contained in:
parent
e96d25b63c
commit
268735980a
1 changed files with 5 additions and 2 deletions
|
@ -14,9 +14,12 @@ distfiles="http://git.exherbo.org/$pkgname-1.git/snapshot/$pkgname-1-$version.ta
|
||||||
checksum=50a17c3639ec46ce1c9a70844b6e01888264e396d5da607aab2f20a1f204ca04
|
checksum=50a17c3639ec46ce1c9a70844b6e01888264e396d5da607aab2f20a1f204ca04
|
||||||
python_version=2 #unverified
|
python_version=2 #unverified
|
||||||
|
|
||||||
# seccomp only implemented on x86
|
# https://github.com/sydbox/pinktrace/blob/main/pinktrace/abi.h
|
||||||
|
# implemented for x86_64 and i386 in sydbox, but pinktrace does
|
||||||
|
# not seem to have i386, so only enable for x86_64
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
x86_64*|i686*) configure_args+=" --enable-seccomp" ;;
|
x86_64*) configure_args+=" --enable-seccomp" ;;
|
||||||
|
*) configure_args+=" --disable-seccomp" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
|
|
Loading…
Reference in a new issue