mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 12:59:24 +02:00
* 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:
parent
2cb95ed2c7
commit
889f564aa3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user