2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-21 15:02:19 +00:00

Tweak path extract syntax to work with mingw.

[skip travis]
This commit is contained in:
Rene Rivera
2019-03-22 21:22:26 -05:00
parent 0ce41b8bd6
commit 053afa5e05

View File

@@ -1,4 +1,3 @@
FOR /?
@ECHO OFF
REM ~ Copyright 2002-2018 Rene Rivera.
@@ -227,7 +226,7 @@ if not defined CXX ( set "CXX=g++" )
if not "_%BOOST_JAM_TOOLSET_ROOT%_" == "__" (
set "PATH=%BOOST_JAM_TOOLSET_ROOT%bin;%PATH%"
)
for /F "delims=" %%P in (%CXX%) do SET PATH=%PATH%;%~dpP
for /F "delims=" %%I in ("%CXX%") do set "PATH=%PATH%;%%~dpI"
set "BOOST_JAM_CXX=%CXX% -x c++ -std=c++11 -s -O3"
set "BOOST_JAM_OPT_JAM=-o b2.exe"
set "_known_=1"