mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 14:59:39 -04:00
Starting with the Clang shipped with Xcode 12, Apple has enabled
-Werror=implicit-function-declaration by default. This causes bdbs mutex
detection to fail when building on macOS (not cross-compiling):
checking for mutexes... UNIX/fcntl
configure: WARNING: NO SHARED LATCH IMPLEMENTATION FOUND FOR THIS PLATFORM.
configure: error: Unable to find a mutex implementation
as previously emitted warnings are being turned into errors. i.e:
error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
Append -Wno-error=implicit-function-declaration to cflags so that
-Wimplicit-function-declaration returns to being a warning, and the
configure checks will succeed.
Fixes #19411.
Github-Pull: #20195
Rebased-From:
|
||
---|---|---|
.. | ||
bdb.mk | ||
boost.mk | ||
expat.mk | ||
fontconfig.mk | ||
freetype.mk | ||
libevent.mk | ||
libXau.mk | ||
libxcb.mk | ||
miniupnpc.mk | ||
native_biplist.mk | ||
native_cctools.mk | ||
native_cdrkit.mk | ||
native_ds_store.mk | ||
native_libdmg-hfsplus.mk | ||
native_mac_alias.mk | ||
packages.mk | ||
qrencode.mk | ||
qt.mk | ||
xcb_proto.mk | ||
xproto.mk | ||
zeromq.mk | ||
zlib.mk |