mirror of
https://github.com/boostorg/build.git
synced 2026-02-17 01:32:12 +00:00
Attempt to fix incorrect error non-reporting because the cwenv.bat from CW-9 incorrectly sets the ERRORLEVEL pseudo variable.
[SVN r25403]
This commit is contained in:
@@ -200,7 +200,11 @@ if $(NT) && $(cw-version) in 6.0
|
||||
# The paths to system and runtime libraries
|
||||
if $(NT)
|
||||
{
|
||||
flags cw CW_SETUP : "call \"$(cw-root)\\Other Metrowerks Tools\\Command Line Tools\\cwenv.bat\" -quiet" ;
|
||||
# Having CW_SETUP split into two lines is intentional. It is
|
||||
# the only way to get the CMD to correctly clear the values of ERRORLEVEL
|
||||
# which is erronously set by the cwenv.bat from CW-9.
|
||||
flags cw CW_SETUP : "call \"$(cw-root)\\Other Metrowerks Tools\\Command Line Tools\\cwenv.bat\" -quiet
|
||||
set ERRORLEVEL=" ;
|
||||
flags cw CW_LINK_SETUP : "set MWWinx86LibraryFiles=" ;
|
||||
flags cw CW_IMPLIB_COMMAND : "-implib " ;
|
||||
flags cw CW_RUN_PATH :
|
||||
|
||||
Reference in New Issue
Block a user