depends: boost: Use clang toolset if clang in CXX

This commit is contained in:
Carl Dong committed 2020-05-27 17:39:51 -04:00
1 parent 1ce74bcde3
commit 0a33803f1c
1 file changed
+3
+3
View File
@@ -21,6 +21,9 @@ $(package)_config_opts_x86_64_android=address-model=64
$(package)_config_opts_armv7a_android=address-model=32
$(package)_toolset_$(host_os)=gcc
$(package)_toolset_darwin=clang
ifneq (,$(findstring clang,$($(package)_cxx)))
$(package)_toolset_$(host_os)=clang
endif
$(package)_archiver_$(host_os)=$($(package)_ar)
$(package)_config_libraries=filesystem,system,thread,test
$(package)_cxxflags=-std=c++11 -fvisibility=hidden