2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 01:12:13 +00:00

Hack around command-line length limitations

[SVN r18001]
This commit is contained in:
Dave Abrahams
2003-03-19 11:55:32 +00:00
parent 3d14636a43
commit 5ea2c82e0b
2 changed files with 14 additions and 0 deletions

View File

@@ -40,6 +40,13 @@ rule init ( a1 * : a2 * : a3 * )
}
}
if [ os.name ] = NT
{
# This causes single-line command invocation to not go through
# .bat files, thus avoiding command-line length limitations
JAMSHELL = % ;
}
# Declare generators
generators.register-linker gcc.link : LIB OBJ : EXE : <toolset>gcc ;
generators.register-composing gcc.archive : OBJ : STATIC_LIB : <toolset>gcc ;

View File

@@ -40,6 +40,13 @@ rule init ( a1 * : a2 * : a3 * )
}
}
if [ os.name ] = NT
{
# This causes single-line command invocation to not go through
# .bat files, thus avoiding command-line length limitations
JAMSHELL = % ;
}
# Declare generators
generators.register-linker gcc.link : LIB OBJ : EXE : <toolset>gcc ;
generators.register-composing gcc.archive : OBJ : STATIC_LIB : <toolset>gcc ;