* exec/configure.ac (exec_CHECK_MIPS_NABI): Test __LP64__ also.

This commit is contained in:
Po Lu
2025-04-15 17:03:57 +08:00
parent 5bf86e2be0
commit 458ad0cb89

View File

@@ -213,11 +213,11 @@ AC_CACHE_CHECK([whether MIPS NABI calling convention is used],
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <sgidefs.h> #include <sgidefs.h>
]], [[ ]], [[
#ifndef __mips64__ #if !defined __mips64__ && !defined __LP64__
#if _MIPS_SIM == _ABIO32 #if _MIPS_SIM == _ABIO32
OABI in use. OABI in use.
#endif /* _MIPS_SIM == _ABIO32 */ #endif /* _MIPS_SIM == _ABIO32 */
#endif /* !__mips64__ */ #endif /* !__mips64__ && !defined __LP64__ */
]])], [exec_cv_mips_nabi=yes], ]])], [exec_cv_mips_nabi=yes],
[exec_cv_mips_nabi=no])]) [exec_cv_mips_nabi=no])])