diff options
author | Sjors Provoost <sjors@sprovoost.nl> | 2020-04-27 15:49:30 +0200 |
---|---|---|
committer | Sjors Provoost <sjors@sprovoost.nl> | 2020-07-31 13:38:09 +0200 |
commit | 8314c23d7b39fc36dde8b40b03b6efbe96f85698 (patch) | |
tree | a918f5b73cd19c17c45bfc94b5d3f50cf333c141 /depends | |
parent | a63a26f042134fa80356860c109edb25ac567552 (diff) |
[depends] boost: patch unused variable in boost_process
Co-Authored-By: fanquake <fanquake@gmail.com>
Diffstat (limited to 'depends')
-rw-r--r-- | depends/packages/boost.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/depends/packages/boost.mk b/depends/packages/boost.mk index 3a7e605b4f..4f6b543aff 100644 --- a/depends/packages/boost.mk +++ b/depends/packages/boost.mk @@ -31,7 +31,9 @@ $(package)_cxxflags_linux=-fPIC $(package)_cxxflags_android=-fPIC endef +# Fix unused variable in boost_process, can be removed after upgrading to 1.72 define $(package)_preprocess_cmds + sed -i.old "s/int ret_sig = 0;//" boost/process/detail/posix/wait_group.hpp && \ echo "using $($(package)_toolset_$(host_os)) : : $($(package)_cxx) : <cxxflags>\"$($(package)_cxxflags) $($(package)_cppflags)\" <linkflags>\"$($(package)_ldflags)\" <archiver>\"$($(package)_archiver_$(host_os))\" <striper>\"$(host_STRIP)\" <ranlib>\"$(host_RANLIB)\" <rc>\"$(host_WINDRES)\" : ;" > user-config.jam endef |