Преглед изворни кода

* 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 година
родитељ
комит
889f564aa3
1 измењених фајлова са 1 додато и 4 уклоњено
  1. 1 4
      compiler/systems/t_bsd.pas

+ 1 - 4
compiler/systems/t_bsd.pas

@@ -562,10 +562,7 @@ begin
         StaticStr:='-static';
     end;
   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
      (tf_smartlink_sections in target_info.flags) then