aboutsummaryrefslogtreecommitdiff
path: root/src/bench/examples.cpp
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2024-08-28 17:35:29 +0100
committerfanquake <fanquake@gmail.com>2024-09-05 10:37:40 +0100
commitb2a137929a20baed161988e24de592b1f59c0096 (patch)
tree1415822945c0f7370da2639fc268f2fc9bbd0c9e /src/bench/examples.cpp
parent199bb09d88e28d951c5068eb65643390dbedd066 (diff)
depends: build libevent with -D_GNU_SOURCE
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, and it's not clear what a nice fix is. For now, always use `_GNU_SOURCE` when building libevent in depends. Github-Pull: #30743 Rebased-From: 556775408797d8e27154c3edaf139820b0979cce
Diffstat (limited to 'src/bench/examples.cpp')
0 files changed, 0 insertions, 0 deletions