Fix build on hppa
PATCH 1/1 Fix build on hppa
The following patch fixes the definition of SECCOMP_ARCH_NATIVE on hppa.
Signed-off-by John David Anglin <[email protected]>
---
include/audit-arch.h renamed from include/audit-arch.h.save +6 -0
@@ -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
include/audit-arch.h
Quoted 2 lines · John David Anglin
include/audit-arch.h renamed from include/audit-arch.h.save +0
-0
Applied, thanks.
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com