From: Brad Smith Date: Mon, 1 Aug 2022 19:38:15 +0000 (-0400) Subject: Fix 64-bit MIPS ABI check for other OS's like *BSD / Linux X-Git-Tag: nettle_3.9_release_20230514~89 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=c82f4ab15554820a5a206dd206535261e306c632;p=thirdparty%2Fnettle.git Fix 64-bit MIPS ABI check for other OS's like *BSD / Linux Signed-off-by: Brad Smith --- diff --git a/configure.ac b/configure.ac index 73c6fc21..39b5b148 100644 --- a/configure.ac +++ b/configure.ac @@ -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 ], [], [