From b5b374439ae0c7f1aa6cfbca270bcc5bf07405c6 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Mon, 9 Jul 2018 15:42:55 +0300 Subject: [PATCH] Make `toolset=clang-win` initialize the clang-win toolset --- src/tools/clang.jam | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/tools/clang.jam b/src/tools/clang.jam index 26c95202a..bcb383703 100644 --- a/src/tools/clang.jam +++ b/src/tools/clang.jam @@ -17,7 +17,12 @@ feature.subfeature toolset clang : platform : : propagated link-incompatible ; rule init ( * : * ) { - if [ os.name ] = MACOSX + if $(1) = win + { + toolset.using clang-win : + $(2) : $(3) : $(4) : $(5) : $(6) : $(7) : $(8) : $(9) ; + } + else if [ os.name ] = MACOSX { toolset.using clang-darwin : $(1) : $(2) : $(3) : $(4) : $(5) : $(6) : $(7) : $(8) : $(9) ;