mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-28 04:52:36 +02:00
Merge 31661 via fix_deps_libevent_build_type-28
This commit is contained in:
commit
a8e00aa12d
@ -11,9 +11,10 @@ $(package)_build_subdir=build
|
|||||||
# version as we do in configure. Due to quirks in libevents build system, this
|
# version as we do in configure. Due to quirks in libevents build system, this
|
||||||
# is also required to enable support for ipv6. See #19375.
|
# is also required to enable support for ipv6. See #19375.
|
||||||
define $(package)_set_vars
|
define $(package)_set_vars
|
||||||
$(package)_config_opts=-DEVENT__DISABLE_BENCHMARK=ON -DEVENT__DISABLE_OPENSSL=ON
|
$(package)_config_opts=-DCMAKE_BUILD_TYPE=None -DEVENT__DISABLE_BENCHMARK=ON -DEVENT__DISABLE_OPENSSL=ON
|
||||||
$(package)_config_opts+=-DEVENT__DISABLE_SAMPLES=ON -DEVENT__DISABLE_REGRESS=ON
|
$(package)_config_opts+=-DEVENT__DISABLE_SAMPLES=ON -DEVENT__DISABLE_REGRESS=ON
|
||||||
$(package)_config_opts+=-DEVENT__DISABLE_TESTS=ON -DEVENT__LIBRARY_TYPE=STATIC
|
$(package)_config_opts+=-DEVENT__DISABLE_TESTS=ON -DEVENT__LIBRARY_TYPE=STATIC
|
||||||
|
$(package)_cflags += -ffile-prefix-map=$($(package)_extract_dir)=/usr
|
||||||
$(package)_cppflags += -D_GNU_SOURCE
|
$(package)_cppflags += -D_GNU_SOURCE
|
||||||
$(package)_cppflags_mingw32=-D_WIN32_WINNT=0x0601
|
$(package)_cppflags_mingw32=-D_WIN32_WINNT=0x0601
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user