From: John David Anglin Date: Mon, 7 Aug 2023 15:37:17 +0000 (+0000) Subject: enosys: fix build on hppa X-Git-Tag: archive/raspbian/2.40.2-8+rpi1~1^2^2^2^2^2^2^2^2^2^2^2^2^2~9 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3bf1dec53a5f54539e8ce96bd9547c481249715d;p=util-linux.git enosys: fix build on hppa The following patch fixes the definition of SECCOMP_ARCH_NATIVE on hppa. Signed-off-by: John David Anglin Gbp-Pq: Topic upstream Gbp-Pq: Name enosys-fix-build-on-hppa.patch --- diff --git a/include/audit-arch.h b/include/audit-arch.h index 63d9eb5..f1354ee 100644 --- a/include/audit-arch.h +++ b/include/audit-arch.h @@ -57,6 +57,12 @@ # else # define SECCOMP_ARCH_NATIVE AUDIT_ARCH_LOONGARCH64 # endif +#elif __hppa__ +# if __SIZEOF_POINTER__ == 4 +# define SECCOMP_ARCH_NATIVE AUDIT_ARCH_PARISC +# else +# define SECCOMP_ARCH_NATIVE AUDIT_ARCH_PARISC64 +# endif #else # error Unknown target architecture #endif