mirror of
https://github.com/boostorg/build.git
synced 2026-02-15 00:52:16 +00:00
Allow only suffixes starting with a digit (#79)
An easiest way to ignore toolset platform subfeature suffixes (-linux/darwin/win).
This commit is contained in:
@@ -151,7 +151,7 @@ test_toolset ()
|
||||
#
|
||||
check_toolset ()
|
||||
{
|
||||
TOOLSET=${B2_TOOLSET%%-*}
|
||||
TOOLSET=${B2_TOOLSET%%-[0-9]*}
|
||||
TOOLSET_SUFFIX=${B2_TOOLSET##$TOOLSET}
|
||||
|
||||
# Prefer Clang (clang) on macOS..
|
||||
|
||||
Reference in New Issue
Block a user