aboutsummaryrefslogtreecommitdiff
path: root/contrib/depends/packages/boost.mk
diff options
context:
space:
mode:
authorHoward Chu <hyc@symas.com>2019-11-13 13:50:17 +0000
committerHoward Chu <hyc@symas.com>2019-11-17 13:44:07 +0000
commit024a1c7ddf0f510f149edb7f64aa54e100fd196f (patch)
treeacf22707c0e20e948ee4bf803644fd267f738c83 /contrib/depends/packages/boost.mk
parentgitian: add FreeBSD (diff)
downloadmonero-024a1c7ddf0f510f149edb7f64aa54e100fd196f.tar.xz
Add ARFLAGS
Needed to invoke deterministic mode on some archivers
Diffstat (limited to 'contrib/depends/packages/boost.mk')
-rw-r--r--contrib/depends/packages/boost.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/depends/packages/boost.mk b/contrib/depends/packages/boost.mk
index 43216f47a..0d241928e 100644
--- a/contrib/depends/packages/boost.mk
+++ b/contrib/depends/packages/boost.mk
@@ -4,6 +4,7 @@ $(package)_download_path=https://dl.bintray.com/boostorg/release/1.64.0/source/
$(package)_file_name=$(package)_$($(package)_version).tar.bz2
$(package)_sha256_hash=7bcc5caace97baa948931d712ea5f37038dbb1c5d89b43ad4def4ed7cb683332
$(package)_dependencies=libiconv
+$(package)_patches=fix_aroptions.patch
define $(package)_set_vars
$(package)_config_opts_release=variant=release
@@ -28,7 +29,8 @@ $(package)_cxxflags_freebsd=-fPIC
endef
define $(package)_preprocess_cmds
- echo "using $(boost_toolset_$(host_os)) : : $($(package)_cxx) : <cxxflags>\"$($(package)_cxxflags) $($(package)_cppflags)\" <linkflags>\"$($(package)_ldflags)\" <archiver>\"$(boost_archiver_$(host_os))\" <striper>\"$(host_STR IP)\" <ranlib>\"$(host_RANLIB)\" <rc>\"$(host_WINDRES)\" : ;" > user-config.jam
+ patch -p1 < $($(package)_patch_dir)/fix_aroptions.patch &&\
+ echo "using $(boost_toolset_$(host_os)) : : $($(package)_cxx) : <cxxflags>\"$($(package)_cxxflags) $($(package)_cppflags)\" <linkflags>\"$($(package)_ldflags)\" <archiver>\"$(boost_archiver_$(host_os))\" <arflags>\"$($(package)_arflags)\" <striper>\"$(host_STRIP)\" <ranlib>\"$(host_RANLIB)\" <rc>\"$(host_WINDRES)\" : ;" > user-config.jam
endef
define $(package)_config_cmds