From 5ea2c82e0b714a91a947cb86fc0d0fb56ec9176c Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Wed, 19 Mar 2003 11:55:32 +0000 Subject: [PATCH] Hack around command-line length limitations [SVN r18001] --- new/gcc.jam | 7 +++++++ v2/gcc.jam | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/new/gcc.jam b/new/gcc.jam index e93214c7c..951539298 100644 --- a/new/gcc.jam +++ b/new/gcc.jam @@ -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 : gcc ; generators.register-composing gcc.archive : OBJ : STATIC_LIB : gcc ; diff --git a/v2/gcc.jam b/v2/gcc.jam index e93214c7c..951539298 100644 --- a/v2/gcc.jam +++ b/v2/gcc.jam @@ -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 : gcc ; generators.register-composing gcc.archive : OBJ : STATIC_LIB : gcc ;