]> git.eshelyaron.com Git - emacs.git/commitdiff
* exec/configure.ac (exec_CHECK_MIPS_NABI): Test __LP64__ also.
authorPo Lu <luangruo@yahoo.com>
Tue, 15 Apr 2025 09:03:57 +0000 (17:03 +0800)
committerEshel Yaron <me@eshelyaron.com>
Wed, 16 Apr 2025 07:34:44 +0000 (09:34 +0200)
(cherry picked from commit 458ad0cb899491da546c06a3f1cd63c0f54623ac)

exec/configure.ac

index d462a25b9d9f1af69cc128edd7e28e3e1b626a95..3415a0aa91cc1d57eb62d539e8295ebea90bea7b 100644 (file)
@@ -213,11 +213,11 @@ AC_CACHE_CHECK([whether MIPS NABI calling convention is used],
   [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
 #include <sgidefs.h>
 ]], [[
-#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])])