From a67ba070f7e3e7c773e5dcae0b71ad4cfde045c6 Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Wed, 17 Nov 2021 17:41:44 +0100 Subject: [PATCH] Allow unset B2_TOOLSET --- ci/enforce.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/enforce.sh b/ci/enforce.sh index d8391e9..dc354f0 100755 --- a/ci/enforce.sh +++ b/ci/enforce.sh @@ -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"}