mirror of
https://github.com/boostorg/build.git
synced 2026-02-15 00:52:16 +00:00
Fix clang version check; the in operator is true when $tag is undefined (#379)
This commit is contained in:
@@ -976,7 +976,7 @@ local rule toolset-tag ( name : type ? : property-set )
|
||||
}
|
||||
|
||||
# Ditto, from Clang 4
|
||||
if $(tag) in clang clangw && [ numbers.less 3 $(version[1]) ]
|
||||
if ( $(tag) = clang || $(tag) = clangw ) && [ numbers.less 3 $(version[1]) ]
|
||||
{
|
||||
version = $(version[1]) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user