mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 17:32:21 +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';
|
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';
|
||||||
StripStr:='-s'
|
|
||||||
else
|
|
||||||
StripStr:='-x';
|
|
||||||
|
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user