From e2ae78645e6d7f6b455eea2f8c2846e67437b739 Mon Sep 17 00:00:00 2001 From: Tanzinul Islam Date: Thu, 3 Dec 2020 13:00:42 +0000 Subject: Allow bootstrapping with "borland" (Embarcadero) Pass down user's toolset override to the `b2`-building script. This was (most likely erroneously) removed in 26232c8d4 along with the output redirection. If user provided toolset of "borland" for bootstrapping, prepare `project-config.jam` for the modern `embarcadero` toolset. --- bootstrap.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bootstrap.bat') diff --git a/bootstrap.bat b/bootstrap.bat index 876a7638f1..7f4fd93e53 100644 --- a/bootstrap.bat +++ b/bootstrap.bat @@ -12,7 +12,7 @@ ECHO Building Boost.Build engine if exist ".\tools\build\src\engine\b2.exe" del tools\build\src\engine\b2.exe pushd tools\build\src\engine -call .\build.bat +call .\build.bat %* @ECHO OFF popd @@ -34,7 +34,7 @@ SET TOOLSET=msvc IF "%1"=="gcc" SET TOOLSET=gcc IF "%1"=="clang" SET TOOLSET=clang - +IF "%1"=="borland" SET TOOLSET=embarcadero IF "%1"=="vc71" SET TOOLSET=msvc : 7.1 IF "%1"=="vc8" SET TOOLSET=msvc : 8.0 IF "%1"=="vc9" SET TOOLSET=msvc : 9.0 -- cgit v1.2.1