diff options
-rw-r--r-- | configure.ac | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 76a603d29..85c634c5b 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -874,10 +874,24 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16)) | |||
874 | seccomp_audit_arch=AUDIT_ARCH_MIPSEL | 874 | seccomp_audit_arch=AUDIT_ARCH_MIPSEL |
875 | ;; | 875 | ;; |
876 | mips64-*) | 876 | mips64-*) |
877 | seccomp_audit_arch=AUDIT_ARCH_MIPS64 | 877 | case "$mips_abi" in |
878 | "n32") | ||
879 | seccomp_audit_arch=AUDIT_ARCH_MIPS64N32 | ||
880 | ;; | ||
881 | "n64") | ||
882 | seccomp_audit_arch=AUDIT_ARCH_MIPS64 | ||
883 | ;; | ||
884 | esac | ||
878 | ;; | 885 | ;; |
879 | mips64el-*) | 886 | mips64el-*) |
880 | seccomp_audit_arch=AUDIT_ARCH_MIPSEL64 | 887 | case "$mips_abi" in |
888 | "n32") | ||
889 | seccomp_audit_arch=AUDIT_ARCH_MIPSEL64N32 | ||
890 | ;; | ||
891 | "n64") | ||
892 | seccomp_audit_arch=AUDIT_ARCH_MIPSEL64 | ||
893 | ;; | ||
894 | esac | ||
881 | ;; | 895 | ;; |
882 | esac | 896 | esac |
883 | if test "x$seccomp_audit_arch" != "x" ; then | 897 | if test "x$seccomp_audit_arch" != "x" ; then |