diff options
author | fanquake <fanquake@gmail.com> | 2022-02-09 18:15:10 +0000 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-02-13 20:59:02 +0000 |
commit | 39e66e938fb688f5400ad94a1b317fcc2a87bc31 (patch) | |
tree | 4edc9c88e5db2740ff5bb8ee4f0e52ca997159e5 /depends/packages/boost.mk | |
parent | 25a91a571a4f3453f7e0e9299ee7a40a61d04f19 (diff) | |
download | bitcoin-39e66e938fb688f5400ad94a1b317fcc2a87bc31.tar.xz |
build: use header-only Boost unit test
Diffstat (limited to 'depends/packages/boost.mk')
-rw-r--r-- | depends/packages/boost.mk | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/depends/packages/boost.mk b/depends/packages/boost.mk index 3c849b1e8d..56c5327342 100644 --- a/depends/packages/boost.mk +++ b/depends/packages/boost.mk @@ -4,7 +4,6 @@ $(package)_download_path=https://boostorg.jfrog.io/artifactory/main/release/$($( $(package)_file_name=boost_$(subst .,_,$($(package)_version)).tar.bz2 $(package)_sha256_hash=d73a8da01e8bf8c7eda40b4c84915071a8c8a0df4a6734537ddde4a8580524ee $(package)_dependencies=native_b2 -$(package)_patches=fix_openbsd_test_lib.patch define $(package)_set_vars $(package)_config_opts_release=variant=release @@ -23,7 +22,7 @@ $(package)_toolset_$(host_os)=clang else $(package)_toolset_$(host_os)=gcc endif -$(package)_config_libraries=test +$(package)_config_libraries=headers $(package)_cxxflags+=-std=c++17 $(package)_cxxflags_linux=-fPIC $(package)_cxxflags_freebsd=-fPIC @@ -33,7 +32,6 @@ $(package)_cxxflags_x86_64=-fcf-protection=full endef define $(package)_preprocess_cmds - patch -p1 < $($(package)_patch_dir)/fix_openbsd_test_lib.patch && \ echo "using $($(package)_toolset_$(host_os)) : : $($(package)_cxx) : <cflags>\"$($(package)_cflags)\" <cxxflags>\"$($(package)_cxxflags)\" <compileflags>\"$($(package)_cppflags)\" <linkflags>\"$($(package)_ldflags)\" <archiver>\"$($(package)_ar)\" <striper>\"$(host_STRIP)\" <ranlib>\"$(host_RANLIB)\" <rc>\"$(host_WINDRES)\" : ;" > user-config.jam endef |