From: John David Anglin Date: Mon, 7 Aug 2023 15:37:17 +0000 (+0000) Subject: enosys: fix build on hppa X-Git-Tag: v2.40-rc1~291 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1d4456dd81a64a73685df9e5f1232d566818e453;p=thirdparty%2Futil-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 --- diff --git a/include/audit-arch.h b/include/audit-arch.h index 63d9eb52c1..f1354eec5d 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