Skip to content

Commit 7efc983

Browse files
committedApr 15, 2022
Fix the false positive of SECP_64BIT_ASM_CHECK
1 parent 8746600 commit 7efc983

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎build-aux/m4/bitcoin_secp.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
dnl escape "$0x" below using the m4 quadrigaph @S|@, and escape it again with a \ for the shell.
22
AC_DEFUN([SECP_64BIT_ASM_CHECK],[
33
AC_MSG_CHECKING(for x86_64 assembly availability)
4-
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
4+
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
55
#include <stdint.h>]],[[
66
uint64_t a = 11, tmp;
77
__asm__ __volatile__("movq \@S|@0x100000000,%1; mulq %%rsi" : "+a"(a) : "S"(tmp) : "cc", "%rdx");

0 commit comments

Comments
 (0)
Please sign in to comment.