Skip to content

Commit

Permalink
Tweak path extract syntax to work with mingw.
Browse files Browse the repository at this point in the history
[skip travis]
  • Loading branch information
grafikrobot committed Mar 23, 2019
1 parent 0ce41b8 commit 053afa5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/engine/config_toolset.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
FOR /?
@ECHO OFF

REM ~ Copyright 2002-2018 Rene Rivera.
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 053afa5

Please sign in to comment.