mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
1b622944c4
556775408797d8e27154c3edaf139820b0979cce depends: build libevent with -D_GNU_SOURCE (fanquake) Pull request description: Currently, builds of libevent in depends, using CMake, fail on some systems, like Alpine, with the following: ```bash /bitcoin/depends/work/build/aarch64-unknown-linux-musl/libevent/2.1.12-stable-1516ed47ea8/evmap.c: In function 'evmap_signal_add_': /bitcoin/depends/work/build/aarch64-unknown-linux-musl/libevent/2.1.12-stable-1516ed47ea8/evmap.c:456:31: error: 'NSIG' undeclared (first use in this function) 456 | if (sig < 0 || sig >= NSIG) ``` From what I can tell the `GNU_SOURCE` "detection" in libevents CMake build system, never? really worked, primarily relies on looking for a deprecated define, and it's not clear what a nice fix is. For now, always build with `_GNU_SOURCE`, to match the autotools behaviour. ACKs for top commit: TheCharlatan: ACK 556775408797d8e27154c3edaf139820b0979cce Tree-SHA512: 4552b4a92867e8fa2af0ffa39b2be6c994bf739de7ce6a7c581590be486da81f7d93fca816854548c1e912347d33a35218c441b5058c3cbd3e82c74a9b7c78d9 |
||
---|---|---|
.. | ||
backtrace.mk | ||
bdb.mk | ||
boost.mk | ||
capnp.mk | ||
expat.mk | ||
fontconfig.mk | ||
freetype.mk | ||
gmp.mk | ||
libevent.mk | ||
libmultiprocess.mk | ||
libnatpmp.mk | ||
libXau.mk | ||
libxcb_util_image.mk | ||
libxcb_util_keysyms.mk | ||
libxcb_util_render.mk | ||
libxcb_util_wm.mk | ||
libxcb_util.mk | ||
libxcb.mk | ||
libxkbcommon.mk | ||
miniupnpc.mk | ||
native_capnp.mk | ||
native_cctools.mk | ||
native_clang.mk | ||
native_ds_store.mk | ||
native_libdmg-hfsplus.mk | ||
native_libmultiprocess.mk | ||
native_libtapi.mk | ||
native_mac_alias.mk | ||
packages.mk | ||
qrencode.mk | ||
qt.mk | ||
sqlite.mk | ||
systemtap.mk | ||
xcb_proto.mk | ||
xproto.mk | ||
zeromq.mk |