Przeglądaj źródła

* pass 2kb of parameters to ar at a time (instead of 200 bytes)

git-svn-id: trunk@5328 -
Jonas Maebe 18 lat temu
rodzic
commit
81fd4e865e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      compiler/link.pas

+ 1 - 1
compiler/link.pas

@@ -713,7 +713,7 @@ Implementation
             current := TStringListItem(SmartLinkOFiles.First);
             current := TStringListItem(SmartLinkOFiles.First);
             repeat
             repeat
               nextcmd := cmdstr;
               nextcmd := cmdstr;
-              Replace(nextcmd,'$FILES',GetNextFiles(240 - length(nextcmd) + 6 - length(binstr) - 1, current));
+              Replace(nextcmd,'$FILES',GetNextFiles(2047, current));
               success:=DoExec(binstr,nextcmd,false,true);
               success:=DoExec(binstr,nextcmd,false,true);
             until (not assigned(current)) or (not success);
             until (not assigned(current)) or (not success);
           end;
           end;