Skip to content

Commit 8e6677d

Browse files
committed
merge bitcoin#31661: Override default build type for libevent
1 parent deede8f commit 8e6677d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

depends/packages/libevent.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ $(package)_build_subdir=build
1111
# version as we do in configure. Due to quirks in libevents build system, this
1212
# is also required to enable support for ipv6. See #19375.
1313
define $(package)_set_vars
14-
$(package)_config_opts=-DEVENT__DISABLE_BENCHMARK=ON -DEVENT__DISABLE_OPENSSL=ON
14+
$(package)_config_opts=-DCMAKE_BUILD_TYPE=None -DEVENT__DISABLE_BENCHMARK=ON -DEVENT__DISABLE_OPENSSL=ON
1515
$(package)_config_opts+=-DEVENT__DISABLE_SAMPLES=ON -DEVENT__DISABLE_REGRESS=ON
1616
$(package)_config_opts+=-DEVENT__DISABLE_TESTS=ON -DEVENT__LIBRARY_TYPE=STATIC
17+
$(package)_cflags += -ffile-prefix-map=$($(package)_extract_dir)=/usr
1718
$(package)_cppflags += -D_GNU_SOURCE
1819
$(package)_cppflags_mingw32=-D_WIN32_WINNT=0x0601
1920

0 commit comments

Comments
 (0)