PKGNAME=shh
PKGSEC=utils
PKGDES="Systemd service hardening helper"
PKGDEP="gcc-runtime glibc strace"
BUILDDEP="rustc llvm"

USECLANG=1
ABTYPE=rust

# Because we sets '-Dseccomp=false' in systemd build parameters for loongson3,
# calling 'systemd-analyze syscall-filter' will build error .
#
# > thread 'main' panicked at build.rs:32:5:
# > assertion failed: output.status.success()
#
# See: https://github.com/desbma/shh/blob/1efed23a5fa90889669435b6fdd16086d72fd3b0/build.rs#L32
FAIL_ARCH="loongson3"
