From 4f1c0f88d3bb7bac3f79c62b4cad22eb969f95d8 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Tue, 15 Apr 2025 17:03:57 +0800 Subject: [PATCH] * exec/configure.ac (exec_CHECK_MIPS_NABI): Test __LP64__ also. (cherry picked from commit 458ad0cb899491da546c06a3f1cd63c0f54623ac) --- exec/configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exec/configure.ac b/exec/configure.ac index d462a25b9d9..3415a0aa91c 100644 --- a/exec/configure.ac +++ b/exec/configure.ac @@ -213,11 +213,11 @@ AC_CACHE_CHECK([whether MIPS NABI calling convention is used], [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include ]], [[ -#ifndef __mips64__ +#if !defined __mips64__ && !defined __LP64__ #if _MIPS_SIM == _ABIO32 OABI in use. #endif /* _MIPS_SIM == _ABIO32 */ -#endif /* !__mips64__ */ +#endif /* !__mips64__ && !defined __LP64__ */ ]])], [exec_cv_mips_nabi=yes], [exec_cv_mips_nabi=no])]) -- 2.39.5