diff --git a/gcc-tools.jam b/gcc-tools.jam index 02bbf1c32..945b5cfae 100644 --- a/gcc-tools.jam +++ b/gcc-tools.jam @@ -311,6 +311,11 @@ rule Link-action } else { + # Workaround GCC's lack of command-files and NT's line-length limitation. + if $(NT) { + JAMSHELL on $(<) = % ; + } + gcc-Link-action $(<) : $(>) ; } } diff --git a/v1/gcc-tools.jam b/v1/gcc-tools.jam index 02bbf1c32..945b5cfae 100644 --- a/v1/gcc-tools.jam +++ b/v1/gcc-tools.jam @@ -311,6 +311,11 @@ rule Link-action } else { + # Workaround GCC's lack of command-files and NT's line-length limitation. + if $(NT) { + JAMSHELL on $(<) = % ; + } + gcc-Link-action $(<) : $(>) ; } }