Skip to content

Commit 0a33803

Browse files
committed
depends: boost: Use clang toolset if clang in CXX
1 parent 1ce74bc commit 0a33803

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

depends/packages/boost.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ $(package)_config_opts_x86_64_android=address-model=64
2121
$(package)_config_opts_armv7a_android=address-model=32
2222
$(package)_toolset_$(host_os)=gcc
2323
$(package)_toolset_darwin=clang
24+
ifneq (,$(findstring clang,$($(package)_cxx)))
25+
$(package)_toolset_$(host_os)=clang
26+
endif
2427
$(package)_archiver_$(host_os)=$($(package)_ar)
2528
$(package)_config_libraries=filesystem,system,thread,test
2629
$(package)_cxxflags=-std=c++11 -fvisibility=hidden

0 commit comments

Comments
 (0)