Skip to content

Commit

Permalink
depends: boost: Remove unnecessary _archiver_
Browse files Browse the repository at this point in the history
We already have $(package)_ar, so just use that instead
  • Loading branch information
dongcarl authored and str4d committed Jan 15, 2021
1 parent 80205dc commit cf70d2e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions depends/packages/boost.mk
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ $(package)_toolset_$(host_os)=clang
else
$(package)_toolset_$(host_os)=gcc
endif
$(package)_archiver_$(host_os)=$($(package)_ar)
$(package)_config_libraries=chrono,filesystem,program_options,system,thread,test
$(package)_cxxflags+=-std=c++17 -fvisibility=hidden
$(package)_cxxflags_linux=-fPIC
Expand All @@ -42,7 +41,7 @@ endif
endef

define $(package)_preprocess_cmds
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
echo "using $($(package)_toolset_$(host_os)) : : $($(package)_cxx) : <cxxflags>\"$($(package)_cxxflags) $($(package)_cppflags)\" <linkflags>\"$($(package)_ldflags)\" <archiver>\"$($(package)_ar)\" <striper>\"$(host_STRIP)\" <ranlib>\"$(host_RANLIB)\" <rc>\"$(host_WINDRES)\" : ;" > user-config.jam
endef

define $(package)_config_cmds
Expand Down

0 comments on commit cf70d2e

Please sign in to comment.