]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Fix 64-bit MIPS ABI check for other OS's like *BSD / Linux
authorBrad Smith <brad@comstyle.com>
Mon, 1 Aug 2022 19:38:15 +0000 (15:38 -0400)
committerNiels Möller <nisse@lysator.liu.se>
Thu, 4 Aug 2022 08:32:06 +0000 (10:32 +0200)
Signed-off-by: Brad Smith <brad@comstyle.com>
configure.ac

index 73c6fc21ec430cf4be9c745da50eceee3b935080..39b5b148f388647edb283cce96e58b47d1ac0999 100644 (file)
@@ -343,7 +343,7 @@ case "$host_cpu" in
     ;;
   *mips*)
     AC_TRY_COMPILE([
-#if defined(__sgi) && defined(__LP64__)
+#if defined(__mips64) || defined(__mips64__) || (defined(__sgi) && defined(__LP64__))
 #error 64-bit mips
 #endif
     ], [], [