command-line-length.patch 630 B

1234567891011121314
  1. diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl
  2. index 8ddb128..52b9ad6 100644
  3. --- a/Configurations/unix-Makefile.tmpl
  4. +++ b/Configurations/unix-Makefile.tmpl
  5. @@ -1961,7 +1961,7 @@ EOF
  6. my @objs = map { platform->obj($_) } @{$args{objs}};
  7. my $deps = join(" \\\n" . ' ' x (length($lib) + 2),
  8. fill_lines(' ', $COLUMNS - length($lib) - 2, @objs));
  9. - my $max_per_call = 500;
  10. + my $max_per_call = ($^O eq 'msys') ? 80 : 500;
  11. my @objs_grouped;
  12. push @objs_grouped, join(" ", splice @objs, 0, $max_per_call) while @objs;
  13. my $fill_lib =