Selaa lähdekoodia

* solaris port doesn't need the startup files

git-svn-id: trunk@2460 -
florian 19 vuotta sitten
vanhempi
commit
d26f004cdb
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3 0
      compiler/systems/t_sunos.pas

+ 3 - 0
compiler/systems/t_sunos.pas

@@ -303,8 +303,11 @@ begin
 
   LinkRes.Add('INPUT(');
   { add objectfiles, start with prt0 always }
+  { solaris port contains _start inside the system unit, it
+    needs only one entry because it is linked always against libc
   if prtobj<>'' then
    LinkRes.AddFileName(FindObjectFile(prtobj,'',false));
+  }
   { try to add crti and crtbegin if linking to C }
   if linklibc then { Needed in solaris? }
    begin