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:
@@ -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 ;
|
||||
|
||||
@@ -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 ;
|
||||
|
||||
Reference in New Issue
Block a user