0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-02 09:46:52 -05:00

build: remove AX_GCC_FUNC_ATTRIBUTE test for dllimport

The result of this test isn't currently used anywhere (we use dllimport based on
MSC_VER in libconsensus).
This commit is contained in:
fanquake 2020-07-14 20:38:52 +08:00
parent 7cd0a69664
commit f054a089ec
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -813,8 +813,6 @@ if test x$ac_cv_sys_large_files != x &&
CPPFLAGS="$CPPFLAGS -D_LARGE_FILES=$ac_cv_sys_large_files"
fi
AX_GCC_FUNC_ATTRIBUTE([dllimport])
if test x$use_glibc_compat != xno; then
AX_CHECK_LINK_FLAG([[-Wl,--wrap=__divmoddi4]], [COMPAT_LDFLAGS="$COMPAT_LDFLAGS -Wl,--wrap=__divmoddi4"])
AX_CHECK_LINK_FLAG([[-Wl,--wrap=log2f]], [COMPAT_LDFLAGS="$COMPAT_LDFLAGS -Wl,--wrap=log2f"])