mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-19 10:09:19 +02:00
* use -x instead of -s for stripping under Mac OS X (-s strips too much
sometimes)
This commit is contained in:
parent
e6ffa24866
commit
13a1ca99ce
@ -514,7 +514,10 @@ begin
|
|||||||
StaticStr:='-static';
|
StaticStr:='-static';
|
||||||
end;
|
end;
|
||||||
if (cs_link_strip in aktglobalswitches) then
|
if (cs_link_strip in aktglobalswitches) then
|
||||||
StripStr:='-s';
|
if (target_info.system <> system_powerpc_darwin) then
|
||||||
|
StripStr:='-s'
|
||||||
|
else
|
||||||
|
StripStr:='-x';
|
||||||
If (cs_profile in aktmoduleswitches) or
|
If (cs_profile in aktmoduleswitches) or
|
||||||
((Info.DynamicLinker<>'') and (not SharedLibFiles.Empty)) then
|
((Info.DynamicLinker<>'') and (not SharedLibFiles.Empty)) then
|
||||||
DynLinkStr:='-dynamic-linker='+Info.DynamicLinker;
|
DynLinkStr:='-dynamic-linker='+Info.DynamicLinker;
|
||||||
@ -618,7 +621,11 @@ initialization
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.16 2004-06-02 07:03:49 jonas
|
Revision 1.17 2004-06-08 17:14:49 jonas
|
||||||
|
* use -x instead of -s for stripping under Mac OS X (-s strips too much
|
||||||
|
sometimes)
|
||||||
|
|
||||||
|
Revision 1.16 2004/06/02 07:03:49 jonas
|
||||||
- disabled automatic adding of libraries from "external lib name 'xxx'"
|
- disabled automatic adding of libraries from "external lib name 'xxx'"
|
||||||
for now (until we have proper framework support)
|
for now (until we have proper framework support)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user