Allow unset B2_TOOLSET

This commit is contained in:
Alexander Grund
2021-11-17 17:41:44 +01:00
parent 27132b2aec
commit a67ba070f7

View File

@@ -69,7 +69,7 @@ fi
# Build cmdline arguments for B2 as an array to preserve quotes
B2_ARGS=(
"toolset=$B2_TOOLSET"
${B2_TOOLSET:+"toolset=$B2_TOOLSET"}
"cxxstd=$B2_CXXSTD"
${B2_CXXFLAGS:+"cxxflags=$B2_CXXFLAGS"}
${B2_DEFINES:+"define=$B2_DEFINES"}