Bläddra i källkod

* use "ld -s" instead of "ld -x" on darwin, since the ld-bug which broke
"ld -s" was fixed a long time ago (and "ld -x" results in larger
binaries)

git-svn-id: trunk@4398 -

Jonas Maebe 19 år sedan
förälder
incheckning
889f564aa3
1 ändrade filer med 1 tillägg och 4 borttagningar
  1. 1 4
      compiler/systems/t_bsd.pas

+ 1 - 4
compiler/systems/t_bsd.pas

@@ -562,10 +562,7 @@ begin
         StaticStr:='-static';
         StaticStr:='-static';
     end;
     end;
   if (cs_link_strip in aktglobalswitches) then
   if (cs_link_strip in aktglobalswitches) then
-   if not(target_info.system in [system_powerpc_darwin,system_i386_darwin]) then
-     StripStr:='-s'
-   else
-     StripStr:='-x';
+    StripStr:='-s';
 
 
   if (cs_link_smart in aktglobalswitches) and
   if (cs_link_smart in aktglobalswitches) and
      (tf_smartlink_sections in target_info.flags) then
      (tf_smartlink_sections in target_info.flags) then