* 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 -
This commit is contained in:
Jonas Maebe 2006-08-09 15:57:00 +00:00
parent 2cb95ed2c7
commit 889f564aa3

View File

@ -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