~ubuntu-branches/ubuntu/lucid/fpc/lucid-proposed

« back to all changes in this revision

Viewing changes to fpcsrc/compiler/systems/t_sunos.pas

  • Committer: Bazaar Package Importer
  • Author(s): Mazen Neifer, Torsten Werner, Mazen Neifer
  • Date: 2008-10-09 23:29:00 UTC
  • mfrom: (4.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20081009232900-553f61m37jkp6upv
Tags: 2.2.2-4
[ Torsten Werner ]
* Update ABI version in fpc-depends automatically.
* Remove empty directories from binary package fpc-source.

[ Mazen Neifer ]
* Removed leading path when calling update-alternatives to remove a Linitian
  error.
* Fixed clean target.
* Improved description of packages. (Closes: #498882)

Show diffs side-by-side

added added

removed removed

Lines of Context:
182
182
begin
183
183
  Inherited Create;
184
184
  if NOT Dontlinkstdlibpath Then
185
 
   LibrarySearchPath.AddPath('/lib;/usr/lib;/usr/X11R6/lib;/opt/sfw/lib',true);
 
185
   LibrarySearchPath.AddPath(sysrootpath,'/lib;/usr/lib;/usr/X11R6/lib;/opt/sfw/lib',true);
186
186
{$ifdef  LinkTest}
187
187
     if (cs_link_staticflag in current_settings.globalswitches) then  WriteLN('ForceLinkStaticFlag');
188
188
     if (cs_link_static in current_settings.globalswitches) then  WriteLN('LinkStatic-Flag');
203
203
{$IFDEF GnuLd}
204
204
     ExeCmd[1]:='gld $OPT $DYNLINK $STATIC $STRIP -L. -o $EXE $RES';
205
205
     DllCmd[1]:='gld $OPT -shared -L. -o $EXE $RES';
206
 
     DllCmd[2]:='strip --strip-unneeded $EXE';
 
206
     DllCmd[2]:='gstrip --strip-unneeded $EXE';
207
207
     DynamicLinker:=''; { Gnu uses the default }
208
208
     Glibc21:=false;
209
209
{$ELSE}